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

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

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.h
diff --git a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
index 3713f99bd9bda2da26049d0289f1e6bf7455c764..d8d1a38c55b6138eabefa549b367e1c67ccaf0fb 100644
--- a/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
+++ b/third_party/WebKit/Source/modules/device_light/DeviceLightEvent.h
@@ -16,10 +16,6 @@ class DeviceLightEvent final : public Event {
public:
~DeviceLightEvent() override;
- static DeviceLightEvent* create()
- {
- return new DeviceLightEvent;
- }
static DeviceLightEvent* create(const AtomicString& eventType, double value)
{
return new DeviceLightEvent(eventType, value);
@@ -34,7 +30,6 @@ public:
const AtomicString& interfaceName() const override;
private:
- DeviceLightEvent();
DeviceLightEvent(const AtomicString& eventType, double value);
DeviceLightEvent(const AtomicString& eventType, const DeviceLightEventInit& initializer);
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/device_light/DeviceLightEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698