Index: components/dom_distiller/ios/distiller_page_ios.mm |
diff --git a/components/dom_distiller/ios/distiller_page_ios.mm b/components/dom_distiller/ios/distiller_page_ios.mm |
index 0009e5bdad0416ad2b6c4947d953dcad4f841c3a..a20326d2b7e9152d4586bf6b66baded77b1e2646 100644 |
--- a/components/dom_distiller/ios/distiller_page_ios.mm |
+++ b/components/dom_distiller/ios/distiller_page_ios.mm |
@@ -103,9 +103,9 @@ void DistillerPageIOS::OnLoadURLDone( |
} |
void DistillerPageIOS::HandleJavaScriptResultString(NSString* result) { |
- scoped_ptr<base::Value> resultValue = base::Value::CreateNullValue(); |
+ std::unique_ptr<base::Value> resultValue = base::Value::CreateNullValue(); |
if (result.length) { |
- scoped_ptr<base::Value> dictionaryValue = |
+ std::unique_ptr<base::Value> dictionaryValue = |
base::JSONReader::Read(base::SysNSStringToUTF8(result)); |
if (dictionaryValue && |
dictionaryValue->IsType(base::Value::TYPE_DICTIONARY)) { |