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

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

Issue 1414573003: Rename enums in WebPlatformEventType.h to follow blink style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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.cpp
diff --git a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
index 7a71753a2ceb9280b7d7cdde69a49963ec79f032..e2c0d70dc8cb1992413961346ba82e71fcf697d0 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp
@@ -62,12 +62,12 @@ BatteryStatus* BatteryDispatcher::latestData()
void BatteryDispatcher::startListening()
{
- Platform::current()->startListening(WebPlatformEventBattery, this);
+ Platform::current()->startListening(WebPlatformEventTypeBattery, this);
}
void BatteryDispatcher::stopListening()
{
- Platform::current()->stopListening(WebPlatformEventBattery);
+ Platform::current()->stopListening(WebPlatformEventTypeBattery);
m_batteryStatus.clear();
}
« no previous file with comments | « content/test/layouttest_support.cc ('k') | third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698