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

Unified Diff: Source/WebCore/fileapi/Blob.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/WheelEvent.cpp ('k') | Source/WebCore/fileapi/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/fileapi/Blob.cpp
diff --git a/Source/WebCore/fileapi/Blob.cpp b/Source/WebCore/fileapi/Blob.cpp
index b00dab98e7a0ea71572c4463e2a4f26628761ce6..08a16728e8c6d074e2857566f1668002d60d236c 100644
--- a/Source/WebCore/fileapi/Blob.cpp
+++ b/Source/WebCore/fileapi/Blob.cpp
@@ -54,6 +54,7 @@ enum SliceHistogramEnum {
Blob::Blob()
: m_size(0)
{
+ ScriptWrappable::init(this);
OwnPtr<BlobData> blobData = BlobData::create();
// Create a new internal URL and register it with the provided blob data.
@@ -66,6 +67,7 @@ Blob::Blob(PassOwnPtr<BlobData> blobData, long long size)
, m_size(size)
{
ASSERT(blobData);
+ ScriptWrappable::init(this);
// Create a new internal URL and register it with the provided blob data.
m_internalURL = BlobURL::createInternalURL();
@@ -76,6 +78,8 @@ Blob::Blob(const KURL& srcURL, const String& type, long long size)
: m_type(type)
, m_size(size)
{
+ ScriptWrappable::init(this);
+
// Create a new internal URL and register it with the same blob data as the source URL.
m_internalURL = BlobURL::createInternalURL();
ThreadableBlobRegistry::registerBlobURL(0, m_internalURL, srcURL);
« no previous file with comments | « Source/WebCore/dom/WheelEvent.cpp ('k') | Source/WebCore/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698