Index: components/dom_distiller/core/distiller_page.cc |
diff --git a/components/dom_distiller/core/distiller_page.cc b/components/dom_distiller/core/distiller_page.cc |
index 826725a7cd7a1f3d8914bf43b0a3464147159d91..a2a986f4fcf0ea5472a4eb819c27a119033bd676 100644 |
--- a/components/dom_distiller/core/distiller_page.cc |
+++ b/components/dom_distiller/core/distiller_page.cc |
@@ -39,7 +39,7 @@ std::string GetDistillerScriptWithOptions( |
return ""; |
} |
- scoped_ptr<base::Value> options_value( |
+ std::unique_ptr<base::Value> options_value( |
dom_distiller::proto::json::DomDistillerOptions::WriteToValue(options)); |
std::string options_json; |
if (!base::JSONWriter::Write(*options_value, &options_json)) { |
@@ -91,7 +91,7 @@ void DistillerPage::OnDistillationDone(const GURL& page_url, |
DCHECK(!ready_); |
ready_ = true; |
- scoped_ptr<dom_distiller::proto::DomDistillerResult> distiller_result( |
+ std::unique_ptr<dom_distiller::proto::DomDistillerResult> distiller_result( |
new dom_distiller::proto::DomDistillerResult()); |
bool found_content; |
if (value->IsType(base::Value::TYPE_NULL)) { |