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

Unified Diff: components/dom_distiller/core/distilled_page_prefs_unittests.cc

Issue 1879613003: Convert //components/dom_distiller from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: components/dom_distiller/core/distilled_page_prefs_unittests.cc
diff --git a/components/dom_distiller/core/distilled_page_prefs_unittests.cc b/components/dom_distiller/core/distilled_page_prefs_unittests.cc
index 9c871539ab35fadbea56256058106b24a5a5cf7a..b034255c2e4bb8c558c00ea4815e4f75c6d4a6d8 100644
--- a/components/dom_distiller/core/distilled_page_prefs_unittests.cc
+++ b/components/dom_distiller/core/distilled_page_prefs_unittests.cc
@@ -54,8 +54,8 @@ class DistilledPagePrefsTest : public testing::Test {
distilled_page_prefs_.reset(new DistilledPagePrefs(pref_service_.get()));
}
- scoped_ptr<user_prefs::TestingPrefServiceSyncable> pref_service_;
- scoped_ptr<DistilledPagePrefs> distilled_page_prefs_;
+ std::unique_ptr<user_prefs::TestingPrefServiceSyncable> pref_service_;
+ std::unique_ptr<DistilledPagePrefs> distilled_page_prefs_;
private:
base::MessageLoop message_loop_;
« no previous file with comments | « components/dom_distiller/core/distilled_content_store_unittest.cc ('k') | components/dom_distiller/core/distiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698