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

Unified Diff: third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 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/DeviceLightEvent.cpp
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp
index 2d5ee69191ab5f82ac9b5baba7eb2eb342e371cf..3ec2249d04ed09eb70eed14b15a885b5f430c002 100644
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp
+++ b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp
@@ -10,11 +10,6 @@ DeviceLightEvent::~DeviceLightEvent()
{
}
-DeviceLightEvent::DeviceLightEvent()
- : m_value(std::numeric_limits<double>::infinity())
-{
-}
-
DeviceLightEvent::DeviceLightEvent(const AtomicString& eventType, double value)
: Event(eventType, true, false) // The DeviceLightEvent bubbles but is not cancelable.
, m_value(value)
@@ -34,7 +29,3 @@ const AtomicString& DeviceLightEvent::interfaceName() const
}
} // namespace blink
-
-
-
-

Powered by Google App Engine
This is Rietveld 408576698