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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/media_router/media_router_webui_message_handler.cc
diff --git a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc
index 6fe551cc3eb3bdf03ab5155bee361996b704caef..c3a81cdc7fc5cfa9db10c8fdc1bdaf63bd5c3304 100644
--- a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.cc
@@ -279,11 +279,11 @@ void MediaRouterWebUIMessageHandler::OnCreateRouteResponseReceived(
incognito_, current_cast_mode));
web_ui()->CallJavascriptFunctionUnsafe(
kOnCreateRouteResponseReceived, base::StringValue(sink_id),
- *route_value, base::FundamentalValue(route->for_display()));
+ *route_value, base::Value(route->for_display()));
} else {
web_ui()->CallJavascriptFunctionUnsafe(
kOnCreateRouteResponseReceived, base::StringValue(sink_id),
- *base::Value::CreateNullValue(), base::FundamentalValue(false));
+ *base::Value::CreateNullValue(), base::Value(false));
}
}
@@ -304,7 +304,7 @@ void MediaRouterWebUIMessageHandler::UpdateIssue(const Issue* issue) {
void MediaRouterWebUIMessageHandler::UpdateMaxDialogHeight(int height) {
DVLOG(2) << "UpdateMaxDialogHeight";
web_ui()->CallJavascriptFunctionUnsafe(kUpdateMaxHeight,
- base::FundamentalValue(height));
+ base::Value(height));
}
void MediaRouterWebUIMessageHandler::RegisterMessages() {
« no previous file with comments | « chrome/browser/ui/webui/md_downloads/downloads_list_tracker.cc ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698