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

Unified Diff: chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc

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: chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc b/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
index 6dec3680beddf48c9c577af057e87c2d4beae5d1..cd8a4c116e62c5c88b83c336da6f7cd15deb82fe 100644
--- a/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
@@ -54,7 +54,7 @@ void FirstRunHandler::ShowStepPointingTo(const std::string& name,
int x,
int y,
int offset) {
- scoped_ptr<base::Value> null(base::Value::CreateNullValue());
+ scoped_ptr<base::Value> null = base::Value::CreateNullValue();
base::ListValue point_with_offset;
point_with_offset.AppendInteger(x);
point_with_offset.AppendInteger(y);

Powered by Google App Engine
This is Rietveld 408576698