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

Unified Diff: chrome/browser/ui/webui/chromeos/first_run/first_run_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/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..282c552f75f212e1710968c9c53be8e2226c8b55 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,19 @@ 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));
+ web_ui()->CallJavascriptFunctionUnsafe("cr.FirstRun.addRoundHole",
+ base::Value(x), base::Value(y),
+ base::Value(radius));
}
void FirstRunHandler::RemoveBackgroundHoles() {

Powered by Google App Engine
This is Rietveld 408576698