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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_webui_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
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 3ffe291cb00ca5b0714dbec46f5577e8cef00204..7d398e7949ba201c4e577a792fde18faf1110a8d 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
@@ -284,11 +284,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));
}
}
@@ -312,8 +312,7 @@ void MediaRouterWebUIMessageHandler::ClearIssue() {
void MediaRouterWebUIMessageHandler::UpdateMaxDialogHeight(int height) {
DVLOG(2) << "UpdateMaxDialogHeight";
- web_ui()->CallJavascriptFunctionUnsafe(kUpdateMaxHeight,
- base::FundamentalValue(height));
+ web_ui()->CallJavascriptFunctionUnsafe(kUpdateMaxHeight, 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