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

Unified Diff: sky/engine/core/events/MouseEvent.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/KeyboardEvent.cpp ('k') | sky/engine/core/events/PageTransitionEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/MouseEvent.cpp
diff --git a/sky/engine/core/events/MouseEvent.cpp b/sky/engine/core/events/MouseEvent.cpp
index f41819d61c33960f7555463a77beb7edb33ef699..700bbcb22849ad370478564062e3c92b1d6e37c8 100644
--- a/sky/engine/core/events/MouseEvent.cpp
+++ b/sky/engine/core/events/MouseEvent.cpp
@@ -80,7 +80,6 @@ MouseEvent::MouseEvent()
: m_button(0)
, m_buttonDown(false)
{
- ScriptWrappable::init(this);
}
MouseEvent::MouseEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view,
@@ -98,7 +97,6 @@ MouseEvent::MouseEvent(const AtomicString& eventType, bool canBubble, bool cance
, m_relatedTarget(relatedTarget)
, m_syntheticEventType(syntheticEventType)
{
- ScriptWrappable::init(this);
}
MouseEvent::MouseEvent(const AtomicString& eventType, const MouseEventInit& initializer)
@@ -110,7 +108,6 @@ MouseEvent::MouseEvent(const AtomicString& eventType, const MouseEventInit& init
, m_buttonDown(initializer.button != (unsigned short)-1)
, m_relatedTarget(initializer.relatedTarget)
{
- ScriptWrappable::init(this);
initCoordinates(IntPoint(initializer.clientX, initializer.clientY));
}
« no previous file with comments | « sky/engine/core/events/KeyboardEvent.cpp ('k') | sky/engine/core/events/PageTransitionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698