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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorErrorEvent.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/sensor/SensorErrorEvent.h
diff --git a/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.h b/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.h
index a10a33397eb3209563daf52e3475d37a819f7a3d..0eedcaaf0d58afd2a1fa86f771dd0a9e92e724fd 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.h
+++ b/third_party/WebKit/Source/modules/sensor/SensorErrorEvent.h
@@ -16,11 +16,6 @@ class SensorErrorEvent : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static SensorErrorEvent* create()
- {
- return new SensorErrorEvent;
- }
-
static SensorErrorEvent* create(const AtomicString& eventType)
{
return new SensorErrorEvent(eventType);
@@ -37,7 +32,6 @@ public:
const AtomicString& interfaceName() const override;
- SensorErrorEvent();
explicit SensorErrorEvent(const AtomicString& eventType);
SensorErrorEvent(const AtomicString& eventType, const SensorErrorEventInit& initializer);

Powered by Google App Engine
This is Rietveld 408576698