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

Unified Diff: Source/WebCore/dom/KeyboardEvent.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/HashChangeEvent.h ('k') | Source/WebCore/dom/MessageEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/KeyboardEvent.cpp
diff --git a/Source/WebCore/dom/KeyboardEvent.cpp b/Source/WebCore/dom/KeyboardEvent.cpp
index 063807c3e3cc388421eb197d6d2c0031285f683e..a28c7190df6047edc8b632512f3a5fcac3900cb5 100644
--- a/Source/WebCore/dom/KeyboardEvent.cpp
+++ b/Source/WebCore/dom/KeyboardEvent.cpp
@@ -105,6 +105,7 @@ KeyboardEvent::KeyboardEvent()
: m_keyLocation(DOMKeyLocationStandard)
, m_altGraphKey(false)
{
+ ScriptWrappable::init(this);
}
KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* view)
@@ -115,6 +116,7 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie
, m_keyLocation(keyLocationCode(key))
, m_altGraphKey(false)
{
+ ScriptWrappable::init(this);
}
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventInit& initializer)
@@ -123,6 +125,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI
, m_keyLocation(initializer.keyLocation)
, m_altGraphKey(false)
{
+ ScriptWrappable::init(this);
}
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view,
@@ -133,6 +136,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool
, m_keyLocation(keyLocation)
, m_altGraphKey(altGraphKey)
{
+ ScriptWrappable::init(this);
}
KeyboardEvent::~KeyboardEvent()
« no previous file with comments | « Source/WebCore/dom/HashChangeEvent.h ('k') | Source/WebCore/dom/MessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698