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

Unified Diff: content/browser/webui/web_ui_message_handler.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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
« no previous file with comments | « content/browser/tracing/tracing_ui.cc ('k') | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_message_handler.cc
diff --git a/content/browser/webui/web_ui_message_handler.cc b/content/browser/webui/web_ui_message_handler.cc
index 2a768b066dc9989cc24a04faa694e6bb00f2fd94..8c88995877d516d74b36794586253cdc1f92f627 100644
--- a/content/browser/webui/web_ui_message_handler.cc
+++ b/content/browser/webui/web_ui_message_handler.cc
@@ -77,16 +77,16 @@ void WebUIMessageHandler::ResolveJavascriptCallback(
const base::Value& callback_id,
const base::Value& response) {
// cr.webUIResponse is a global JS function exposed from cr.js.
- CallJavascriptFunction("cr.webUIResponse", callback_id,
- base::FundamentalValue(true), response);
+ CallJavascriptFunction("cr.webUIResponse", callback_id, base::Value(true),
+ response);
}
void WebUIMessageHandler::RejectJavascriptCallback(
const base::Value& callback_id,
const base::Value& response) {
// cr.webUIResponse is a global JS function exposed from cr.js.
- CallJavascriptFunction("cr.webUIResponse", callback_id,
- base::FundamentalValue(false), response);
+ CallJavascriptFunction("cr.webUIResponse", callback_id, base::Value(false),
+ response);
}
} // namespace content
« no previous file with comments | « content/browser/tracing/tracing_ui.cc ('k') | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698