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

Unified Diff: Source/WebCore/dom/MouseEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/dom/MessageEvent.cpp ('k') | Source/WebCore/dom/MutationEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/MouseEvent.cpp
diff --git a/Source/WebCore/dom/MouseEvent.cpp b/Source/WebCore/dom/MouseEvent.cpp
index faa91a15f634761dde5bd52e8fd24d879c568d88..d3ba8b91d1b4a7d96faa09c28bc182b74b716173 100644
--- a/Source/WebCore/dom/MouseEvent.cpp
+++ b/Source/WebCore/dom/MouseEvent.cpp
@@ -105,6 +105,7 @@ MouseEvent::MouseEvent()
: m_button(0)
, m_buttonDown(false)
{
+ ScriptWrappable::init(this);
}
MouseEvent::MouseEvent(const AtomicString& eventType, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view,
@@ -126,6 +127,7 @@ MouseEvent::MouseEvent(const AtomicString& eventType, bool canBubble, bool cance
, m_relatedTarget(relatedTarget)
, m_clipboard(clipboard)
{
+ ScriptWrappable::init(this);
}
MouseEvent::MouseEvent(const AtomicString& eventType, const MouseEventInit& initializer)
@@ -140,6 +142,7 @@ MouseEvent::MouseEvent(const AtomicString& eventType, const MouseEventInit& init
, m_relatedTarget(initializer.relatedTarget)
, m_clipboard(0 /* clipboard */)
{
+ ScriptWrappable::init(this);
initCoordinates(IntPoint(initializer.clientX, initializer.clientY));
}
« no previous file with comments | « Source/WebCore/dom/MessageEvent.cpp ('k') | Source/WebCore/dom/MutationEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698