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

Unified Diff: chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc

Issue 2792573002: Remove base::Value::CreateNullValue (Closed)
Patch Set: Rebase Created 3 years, 8 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/settings/settings_startup_pages_handler.cc
diff --git a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
index 02e14062d8206ac75c093d31f53ce110101ad625..28900b32090087912a5c60bcaeef5706fec0019c 100644
--- a/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
+++ b/chrome/browser/ui/webui/settings/settings_startup_pages_handler.cc
@@ -131,7 +131,7 @@ void StartupPagesHandler::HandleEditStartupPage(const base::ListValue* args) {
CHECK(args->GetInteger(1, &index));
if (index < 0 || index > startup_custom_pages_table_model_.RowCount()) {
- RejectJavascriptCallback(*callback_id, *base::Value::CreateNullValue());
+ RejectJavascriptCallback(*callback_id, base::Value());
NOTREACHED();
return;
}

Powered by Google App Engine
This is Rietveld 408576698