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

Unified Diff: content/shell/browser/layout_test/layout_test_content_browser_client.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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: content/shell/browser/layout_test/layout_test_content_browser_client.cc
diff --git a/content/shell/browser/layout_test/layout_test_content_browser_client.cc b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
index f86e9d8cf86828edab78912b29ced4e00be51aa0..a1fac6641d92dfd8199eef3d33d63a279015fb42 100644
--- a/content/shell/browser/layout_test/layout_test_content_browser_client.cc
+++ b/content/shell/browser/layout_test/layout_test_content_browser_client.cc
@@ -4,6 +4,7 @@
#include "content/shell/browser/layout_test/layout_test_content_browser_client.h"
+#include "base/memory/ptr_util.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h"
@@ -81,7 +82,7 @@ void LayoutTestContentBrowserClient::OverrideWebkitPrefs(
void LayoutTestContentBrowserClient::ResourceDispatcherHostCreated() {
set_resource_dispatcher_host_delegate(
- make_scoped_ptr(new LayoutTestResourceDispatcherHostDelegate));
+ base::WrapUnique(new LayoutTestResourceDispatcherHostDelegate));
ResourceDispatcherHost::Get()->SetDelegate(
resource_dispatcher_host_delegate());
}

Powered by Google App Engine
This is Rietveld 408576698