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

Unified Diff: third_party/WebKit/Source/modules/sensor/SensorReadingEvent.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/SensorReadingEvent.h
diff --git a/third_party/WebKit/Source/modules/sensor/SensorReadingEvent.h b/third_party/WebKit/Source/modules/sensor/SensorReadingEvent.h
index 4616f65f4bff91a2b2df7005657fe5154e06742c..d2c1b44158baf1e37cf898bb9c05f91ac1e3d498 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorReadingEvent.h
+++ b/third_party/WebKit/Source/modules/sensor/SensorReadingEvent.h
@@ -16,11 +16,6 @@ class SensorReadingEvent : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static SensorReadingEvent* create()
- {
- return new SensorReadingEvent;
- }
-
static SensorReadingEvent* create(const AtomicString& eventType)
{
return new SensorReadingEvent(eventType);
@@ -48,7 +43,6 @@ protected:
Member<SensorReading> m_reading;
private:
- SensorReadingEvent();
explicit SensorReadingEvent(const AtomicString& eventType);
SensorReadingEvent(const AtomicString& eventType, SensorReading&);
SensorReadingEvent(const AtomicString& eventType, const SensorReadingEventInit& initializer);

Powered by Google App Engine
This is Rietveld 408576698