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

Unified Diff: Source/WebCore/Modules/indexeddb/IDBAny.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/Modules/geolocation/Geolocation.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/Modules/indexeddb/IDBAny.cpp
diff --git a/Source/WebCore/Modules/indexeddb/IDBAny.cpp b/Source/WebCore/Modules/indexeddb/IDBAny.cpp
index c0190585bdb40cb02e11c604b6d3107e01a4a28e..1707172441dfaba8c9be946793c2b577e2008ac6 100644
--- a/Source/WebCore/Modules/indexeddb/IDBAny.cpp
+++ b/Source/WebCore/Modules/indexeddb/IDBAny.cpp
@@ -56,6 +56,7 @@ IDBAny::IDBAny(Type type)
, m_integer(0)
{
ASSERT(type == UndefinedType || type == NullType);
+ ScriptWrappable::init(this);
}
IDBAny::~IDBAny()
@@ -133,6 +134,7 @@ IDBAny::IDBAny(PassRefPtr<DOMStringList> value)
, m_domStringList(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBCursorWithValue> value)
@@ -140,6 +142,7 @@ IDBAny::IDBAny(PassRefPtr<IDBCursorWithValue> value)
, m_idbCursorWithValue(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBCursor> value)
@@ -147,6 +150,7 @@ IDBAny::IDBAny(PassRefPtr<IDBCursor> value)
, m_idbCursor(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBDatabase> value)
@@ -154,6 +158,7 @@ IDBAny::IDBAny(PassRefPtr<IDBDatabase> value)
, m_idbDatabase(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBFactory> value)
@@ -161,6 +166,7 @@ IDBAny::IDBAny(PassRefPtr<IDBFactory> value)
, m_idbFactory(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBIndex> value)
@@ -168,6 +174,7 @@ IDBAny::IDBAny(PassRefPtr<IDBIndex> value)
, m_idbIndex(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBTransaction> value)
@@ -175,6 +182,7 @@ IDBAny::IDBAny(PassRefPtr<IDBTransaction> value)
, m_idbTransaction(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(PassRefPtr<IDBObjectStore> value)
@@ -182,6 +190,7 @@ IDBAny::IDBAny(PassRefPtr<IDBObjectStore> value)
, m_idbObjectStore(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(const ScriptValue& value)
@@ -189,6 +198,7 @@ IDBAny::IDBAny(const ScriptValue& value)
, m_scriptValue(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(const IDBKeyPath& value)
@@ -196,6 +206,7 @@ IDBAny::IDBAny(const IDBKeyPath& value)
, m_idbKeyPath(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(const String& value)
@@ -203,12 +214,14 @@ IDBAny::IDBAny(const String& value)
, m_string(value)
, m_integer(0)
{
+ ScriptWrappable::init(this);
}
IDBAny::IDBAny(int64_t value)
: m_type(IntegerType)
, m_integer(value)
{
+ ScriptWrappable::init(this);
}
} // namespace WebCore
« no previous file with comments | « Source/WebCore/Modules/geolocation/Geolocation.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBCursor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698