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

Unified Diff: chrome/browser/ui/webui/chromeos/first_run/first_run_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/chromeos/first_run/first_run_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc b/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
index 2dcf9da1fed3d3dd066a5f07f29b40101e6d63b5..2b048b7892d163cc2b659025c4e61399a9cb9d54 100644
--- a/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/first_run/first_run_handler.cc
@@ -21,20 +21,20 @@ bool FirstRunHandler::IsInitialized() {
void FirstRunHandler::SetBackgroundVisible(bool visible) {
web_ui()->CallJavascriptFunctionUnsafe("cr.FirstRun.setBackgroundVisible",
- base::FundamentalValue(visible));
+ base::Value(visible));
}
void FirstRunHandler::AddRectangularHole(int x, int y, int width, int height) {
web_ui()->CallJavascriptFunctionUnsafe(
- "cr.FirstRun.addRectangularHole", base::FundamentalValue(x),
- base::FundamentalValue(y), base::FundamentalValue(width),
- base::FundamentalValue(height));
+ "cr.FirstRun.addRectangularHole", base::Value(x),
+ base::Value(y), base::Value(width),
+ base::Value(height));
}
void FirstRunHandler::AddRoundHole(int x, int y, float radius) {
web_ui()->CallJavascriptFunctionUnsafe(
- "cr.FirstRun.addRoundHole", base::FundamentalValue(x),
- base::FundamentalValue(y), base::FundamentalValue(radius));
+ "cr.FirstRun.addRoundHole", base::Value(x),
+ base::Value(y), base::Value(radius));
}
void FirstRunHandler::RemoveBackgroundHoles() {

Powered by Google App Engine
This is Rietveld 408576698