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

Unified Diff: third_party/WebKit/Source/modules/battery/BatteryDispatcher.h

Issue 1836203002: Change the battery-status layout tests to use JS mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/BatteryDispatcher.h
diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
index 69179895ac3d6d0ab814b89dbb678a6d77505906..5e7df9d15b9651d7feb02db9695c2160ab2f0815 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
+++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.h
@@ -25,11 +25,6 @@ public:
return m_hasLatestData ? &m_batteryStatus : nullptr;
}
- void updateBatteryStatusForTesting(const BatteryStatus& batteryStatus)
- {
- updateBatteryStatus(batteryStatus);
- }
-
private:
BatteryDispatcher();

Powered by Google App Engine
This is Rietveld 408576698