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

Unified Diff: third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp

Issue 1835873002: Removes BatteryDispatcherProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes export settings again. Created 4 years, 9 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: third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp
diff --git a/third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp b/third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp
index 13ad6ceae00b001fee89ede0928d7a5d8c56434d..a9157e029eb455d378013a415543221882886c2c 100644
--- a/third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp
+++ b/third_party/WebKit/Source/modules/battery/testing/InternalsBattery.cpp
@@ -10,7 +10,7 @@ namespace blink {
void InternalsBattery::updateBatteryStatus(Internals&, bool charging, double chargingTime, double dischargingTime, double level)
{
- BatteryDispatcher::instance().OnUpdateBatteryStatus(
+ BatteryDispatcher::instance().updateBatteryStatusForTesting(
BatteryStatus(charging, chargingTime, dischargingTime, level));
}
« no previous file with comments | « third_party/WebKit/Source/modules/battery/battery_status.h ('k') | third_party/WebKit/Source/modules/modules.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698