Index: headless/lib/browser/headless_browser_context.cc |
diff --git a/headless/lib/browser/headless_browser_context.cc b/headless/lib/browser/headless_browser_context.cc |
index 3ccaef32c93e13d10e5c94d5facb64f435f8d494..13ffced41defc6eeeeee1e2f80e4b89a9f32d64d 100644 |
--- a/headless/lib/browser/headless_browser_context.cc |
+++ b/headless/lib/browser/headless_browser_context.cc |
@@ -4,6 +4,8 @@ |
#include "headless/lib/browser/headless_browser_context.h" |
+#include <memory> |
+ |
#include "base/path_service.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/resource_context.h" |
@@ -77,10 +79,10 @@ void HeadlessBrowserContext::InitWhileIOAllowed() { |
BrowserContext::Initialize(this, path_); |
} |
-scoped_ptr<content::ZoomLevelDelegate> |
+std::unique_ptr<content::ZoomLevelDelegate> |
HeadlessBrowserContext::CreateZoomLevelDelegate( |
const base::FilePath& partition_path) { |
- return scoped_ptr<content::ZoomLevelDelegate>(); |
+ return std::unique_ptr<content::ZoomLevelDelegate>(); |
} |
base::FilePath HeadlessBrowserContext::GetPath() const { |