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

Unified Diff: sky/engine/core/events/Event.cpp

Issue 706123005: Remove nop ScriptWrappable::init calls (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/events/ErrorEvent.cpp ('k') | sky/engine/core/events/EventTarget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/Event.cpp
diff --git a/sky/engine/core/events/Event.cpp b/sky/engine/core/events/Event.cpp
index ecc9c43d0fe0b9fcbcd4e7ffd4e7ea48baa8e457..b1cec4fa97647f77d886193b92ad1d7a052e7762 100644
--- a/sky/engine/core/events/Event.cpp
+++ b/sky/engine/core/events/Event.cpp
@@ -51,7 +51,6 @@ Event::Event()
, m_currentTarget(nullptr)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
- ScriptWrappable::init(this);
}
Event::Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg)
@@ -67,7 +66,6 @@ Event::Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableAr
, m_currentTarget(nullptr)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
- ScriptWrappable::init(this);
}
Event::Event(const AtomicString& eventType, const EventInit& initializer)
@@ -83,7 +81,6 @@ Event::Event(const AtomicString& eventType, const EventInit& initializer)
, m_currentTarget(nullptr)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
- ScriptWrappable::init(this);
}
Event::~Event()
« no previous file with comments | « sky/engine/core/events/ErrorEvent.cpp ('k') | sky/engine/core/events/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698