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

Unified Diff: chrome/browser/ui/webui/settings/protocol_handlers_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
Index: chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
diff --git a/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc b/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
index 8ede9b3f6a2a86dc37fbd0b5b4c9b4ff3d1455cb..42610c6b6f60584b85bb4ec2770cc88ac4b6f612 100644
--- a/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
+++ b/chrome/browser/ui/webui/settings/protocol_handlers_handler.cc
@@ -151,8 +151,7 @@ void ProtocolHandlersHandler::HandleObserveProtocolHandlersEnabledState(
void ProtocolHandlersHandler::SendHandlersEnabledValue() {
CallJavascriptFunction("cr.webUIListenerCallback",
base::StringValue("setHandlersEnabled"),
- base::FundamentalValue(
- GetProtocolHandlerRegistry()->enabled()));
+ base::Value(GetProtocolHandlerRegistry()->enabled()));
}
void ProtocolHandlersHandler::HandleRemoveHandler(const base::ListValue* args) {
« no previous file with comments | « chrome/browser/ui/webui/settings/profile_info_handler.cc ('k') | chrome/browser/ui/webui/settings/safe_browsing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698