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

Unified Diff: webrtc/modules/audio_processing/agc/histogram_unittest.cc

Issue 1710483002: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_processing/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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
« no previous file with comments | « webrtc/modules/audio_processing/agc/histogram.h ('k') | webrtc/modules/audio_processing/audio_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/agc/histogram_unittest.cc
diff --git a/webrtc/modules/audio_processing/agc/histogram_unittest.cc b/webrtc/modules/audio_processing/agc/histogram_unittest.cc
index d41aacafd854fe98e4831947ddac6f19c75fa5e9..d00600cc97c408989ec6c45ae94897fa20b1a73d 100644
--- a/webrtc/modules/audio_processing/agc/histogram_unittest.cc
+++ b/webrtc/modules/audio_processing/agc/histogram_unittest.cc
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <cmath>
+#include <memory>
#include "gtest/gtest.h"
#include "webrtc/test/testsupport/fileutils.h"
@@ -37,7 +38,7 @@ class HistogramTest : public ::testing::Test {
private:
void TestClean();
- rtc::scoped_ptr<Histogram> hist_;
+ std::unique_ptr<Histogram> hist_;
};
void HistogramTest::TestClean() {
« no previous file with comments | « webrtc/modules/audio_processing/agc/histogram.h ('k') | webrtc/modules/audio_processing/audio_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698