Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: webrtc/modules/audio_processing/transient/moving_moments_unittest.cc

Issue 1698843003: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_processing/transient/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: compile fix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/transient/moving_moments_unittest.cc
diff --git a/webrtc/modules/audio_processing/transient/moving_moments_unittest.cc b/webrtc/modules/audio_processing/transient/moving_moments_unittest.cc
index 4d89ac660043f0b22fcaf3bcd52e48cc279c6f31..f1aa77329bdc0beb2f81f9b3682cc5e11264a26b 100644
--- a/webrtc/modules/audio_processing/transient/moving_moments_unittest.cc
+++ b/webrtc/modules/audio_processing/transient/moving_moments_unittest.cc
@@ -10,8 +10,9 @@
#include "webrtc/modules/audio_processing/transient/moving_moments.h"
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
-#include "webrtc/base/scoped_ptr.h"
namespace webrtc {
@@ -29,7 +30,7 @@ class MovingMomentsTest : public ::testing::Test {
const float* expected_mean,
const float* expected_mean_squares);
- rtc::scoped_ptr<MovingMoments> moving_moments_;
+ std::unique_ptr<MovingMoments> moving_moments_;
float output_mean_[kMaxOutputLength];
float output_mean_squares_[kMaxOutputLength];
};

Powered by Google App Engine
This is Rietveld 408576698