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

Unified Diff: components/dom_distiller/ios/distiller_page_ios.mm

Issue 1129083003: More base::Values-related bare pointer -> scoped_ptr conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 7 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: 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 bdf41087079c5c68539af796214980b3beee25da..193595423af5d7ecb79a33d2f0087971cc7aac17 100644
--- a/components/dom_distiller/ios/distiller_page_ios.mm
+++ b/components/dom_distiller/ios/distiller_page_ios.mm
@@ -109,7 +109,7 @@ void DistillerPageIOS::OnLoadURLDone(
}
void DistillerPageIOS::HandleJavaScriptResultString(NSString* result) {
- scoped_ptr<base::Value> resultValue(base::Value::CreateNullValue());
+ scoped_ptr<base::Value> resultValue = base::Value::CreateNullValue();
if (result.length) {
scoped_ptr<base::Value> dictionaryValue(
base::JSONReader::Read(base::SysNSStringToUTF8(result)));
« no previous file with comments | « components/dom_distiller/core/distiller_unittest.cc ('k') | components/history/core/browser/top_sites_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698