Index: chrome/browser/ui/webui/options/chromeos/power_handler.cc |
diff --git a/chrome/browser/ui/webui/options/chromeos/power_handler.cc b/chrome/browser/ui/webui/options/chromeos/power_handler.cc |
index 0411e30952a8b26760dcce7c4fba15bb9ddf9635..8cd2cb2217683f22059bdd924897add48e87061b 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/power_handler.cc |
+++ b/chrome/browser/ui/webui/options/chromeos/power_handler.cc |
@@ -87,7 +87,7 @@ void PowerHandler::RegisterMessages() { |
void PowerHandler::OnPowerStatusChanged() { |
web_ui()->CallJavascriptFunctionUnsafe( |
"options.PowerOverlay.setBatteryStatusText", |
- base::StringValue(GetStatusValue())); |
+ base::Value(GetStatusValue())); |
UpdatePowerSources(); |
} |
@@ -165,7 +165,7 @@ void PowerHandler::UpdatePowerSources() { |
web_ui()->CallJavascriptFunctionUnsafe( |
"options.PowerOverlay.setPowerSources", sources_list, |
- base::StringValue(status->GetCurrentPowerSourceID()), |
+ base::Value(status->GetCurrentPowerSourceID()), |
base::Value(status->IsUsbChargerConnected()), |
base::Value(status->IsBatteryTimeBeingCalculated())); |
} |