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

Unified Diff: Source/WebCore/dom/Event.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/ErrorEvent.cpp ('k') | Source/WebCore/dom/FocusEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Event.cpp
diff --git a/Source/WebCore/dom/Event.cpp b/Source/WebCore/dom/Event.cpp
index d5d1fbe3758b84f40842838783f9d02f8145af5c..1673de9459fc2379a5a9fdc1d84e338279e80bd9 100644
--- a/Source/WebCore/dom/Event.cpp
+++ b/Source/WebCore/dom/Event.cpp
@@ -52,6 +52,7 @@ Event::Event()
, m_currentTarget(0)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
+ ScriptWrappable::init(this);
}
Event::Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg)
@@ -67,6 +68,7 @@ Event::Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableAr
, m_currentTarget(0)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
+ ScriptWrappable::init(this);
}
Event::Event(const AtomicString& eventType, const EventInit& initializer)
@@ -82,6 +84,7 @@ Event::Event(const AtomicString& eventType, const EventInit& initializer)
, m_currentTarget(0)
, m_createTime(convertSecondsToDOMTimeStamp(currentTime()))
{
+ ScriptWrappable::init(this);
}
Event::~Event()
« no previous file with comments | « Source/WebCore/dom/ErrorEvent.cpp ('k') | Source/WebCore/dom/FocusEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698