Index: components/dom_distiller/core/viewer.h |
diff --git a/components/dom_distiller/core/viewer.h b/components/dom_distiller/core/viewer.h |
index 2335942e59ac4f1b5886d72c9b5c894b5f962693..3f924da6b85e2164cea9b2403e4e5b9a6b1d180b 100644 |
--- a/components/dom_distiller/core/viewer.h |
+++ b/components/dom_distiller/core/viewer.h |
@@ -5,10 +5,10 @@ |
#ifndef COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ |
#define COMPONENTS_DOM_DISTILLER_CORE_VIEWER_H_ |
+#include <memory> |
#include <string> |
#include "base/compiler_specific.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "components/dom_distiller/core/distilled_page_prefs.h" |
#include "ui/gfx/geometry/size.h" |
@@ -79,7 +79,7 @@ const std::string GetJavaScript(); |
// Based on the given path, calls into the DomDistillerServiceInterface for |
// viewing distilled content based on the |path|. |
-scoped_ptr<ViewerHandle> CreateViewRequest( |
+std::unique_ptr<ViewerHandle> CreateViewRequest( |
DomDistillerServiceInterface* dom_distiller_service, |
const std::string& path, |
ViewRequestDelegate* view_request_delegate, |