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

Unified Diff: third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.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/device_light/DeviceLightDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp b/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
index 87c8a8d6af2753d9a6ca4f99b5007b6568a13107..07f4e39913a2c5144f055b525560ea8cf1a6364d 100644
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/device_light/DeviceLightDispatcher.cpp
@@ -32,12 +32,12 @@ DEFINE_TRACE(DeviceLightDispatcher)
void DeviceLightDispatcher::startListening()
{
- Platform::current()->startListening(WebPlatformEventDeviceLight, this);
+ Platform::current()->startListening(WebPlatformEventTypeDeviceLight, this);
}
void DeviceLightDispatcher::stopListening()
{
- Platform::current()->stopListening(WebPlatformEventDeviceLight);
+ Platform::current()->stopListening(WebPlatformEventTypeDeviceLight);
m_lastDeviceLightData = -1;
}

Powered by Google App Engine
This is Rietveld 408576698