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

Unified Diff: chrome/browser/ui/webui/settings/on_startup_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/on_startup_handler.cc
diff --git a/chrome/browser/ui/webui/settings/on_startup_handler.cc b/chrome/browser/ui/webui/settings/on_startup_handler.cc
index 10b4b26a660c84f0d928e396146c4174a002c5f0..b42ffc8571730feb59bd6d4ae1ff701ca2855032 100644
--- a/chrome/browser/ui/webui/settings/on_startup_handler.cc
+++ b/chrome/browser/ui/webui/settings/on_startup_handler.cc
@@ -41,7 +41,7 @@ void OnStartupHandler::HandleGetNtpExtension(const base::ListValue* args) {
extensions::GetExtensionOverridingNewTabPage(profile);
if (!ntp_extension) {
- ResolveJavascriptCallback(*callback_id, *base::Value::CreateNullValue());
+ ResolveJavascriptCallback(*callback_id, base::Value());
return;
}
« no previous file with comments | « chrome/browser/ui/webui/settings/certificates_handler.cc ('k') | chrome/browser/ui/webui/settings/reset_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698