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

Unified Diff: components/favicon/content/content_favicon_driver_unittest.cc

Issue 1918083002: Convert //components/[f-n]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: … 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/favicon/content/content_favicon_driver_unittest.cc
diff --git a/components/favicon/content/content_favicon_driver_unittest.cc b/components/favicon/content/content_favicon_driver_unittest.cc
index 11765461456db3b6cd2215954ad38f3eb319c2f4..ad19e9523446f9d3d4b69f86267cca5bee0a873d 100644
--- a/components/favicon/content/content_favicon_driver_unittest.cc
+++ b/components/favicon/content/content_favicon_driver_unittest.cc
@@ -4,8 +4,9 @@
#include "components/favicon/content/content_favicon_driver.h"
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/favicon/core/favicon_client.h"
#include "components/favicon/core/favicon_handler.h"
#include "components/favicon/core/favicon_service.h"
@@ -39,7 +40,7 @@ class ContentFaviconDriverTest : public content::RenderViewHostTestHarness {
}
private:
- scoped_ptr<FaviconService> favicon_service_;
+ std::unique_ptr<FaviconService> favicon_service_;
DISALLOW_COPY_AND_ASSIGN(ContentFaviconDriverTest);
};
« no previous file with comments | « chrome/browser/safe_browsing/download_protection_service_unittest.cc ('k') | components/favicon/core/favicon_driver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698