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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/cups_printers_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/settings/chromeos/cups_printers_handler.cc
diff --git a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
index d21d63b191fb282dd5da2d36fa616a3fd9db40e0..199d505618b3ecb28fd814561f6529f70e603a23 100644
--- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
+++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
@@ -244,13 +244,13 @@ void CupsPrintersHandler::OnAddedPrinter(std::unique_ptr<Printer> printer,
}
CallJavascriptFunction(
"cr.webUIListenerCallback", base::StringValue("on-add-cups-printer"),
- base::FundamentalValue(success), base::StringValue(printer_name));
+ base::Value(success), base::StringValue(printer_name));
}
void CupsPrintersHandler::OnAddPrinterError() {
CallJavascriptFunction("cr.webUIListenerCallback",
base::StringValue("on-add-cups-printer"),
- base::FundamentalValue(false), base::StringValue(""));
+ base::Value(false), base::StringValue(""));
}
void CupsPrintersHandler::HandleGetCupsPrinterManufacturers(

Powered by Google App Engine
This is Rietveld 408576698