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

Unified Diff: Source/WebCore/fileapi/File.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/fileapi/Blob.cpp ('k') | Source/WebCore/fileapi/FileList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/fileapi/File.cpp
diff --git a/Source/WebCore/fileapi/File.cpp b/Source/WebCore/fileapi/File.cpp
index 06527ae904f2d8cc3f7264048f0e6d1225e46dff..726ec3aca5e3a1b178f29552c30514e7b74fd3d9 100644
--- a/Source/WebCore/fileapi/File.cpp
+++ b/Source/WebCore/fileapi/File.cpp
@@ -100,6 +100,7 @@ File::File(const String& path, ContentTypeLookupPolicy policy)
, m_snapshotSize(-1)
, m_snapshotModificationTime(invalidFileTime())
{
+ ScriptWrappable::init(this);
}
File::File(const String& path, const KURL& url, const String& type)
@@ -108,6 +109,7 @@ File::File(const String& path, const KURL& url, const String& type)
, m_snapshotSize(-1)
, m_snapshotModificationTime(invalidFileTime())
{
+ ScriptWrappable::init(this);
m_name = pathGetFileName(path);
// FIXME: File object serialization/deserialization does not include
// newer file object data members: m_name and m_relativePath.
@@ -121,6 +123,7 @@ File::File(const String& path, const String& name, ContentTypeLookupPolicy polic
, m_snapshotSize(-1)
, m_snapshotModificationTime(invalidFileTime())
{
+ ScriptWrappable::init(this);
}
File::File(const String& name, const FileMetadata& metadata)
@@ -130,6 +133,7 @@ File::File(const String& name, const FileMetadata& metadata)
, m_snapshotSize(metadata.length)
, m_snapshotModificationTime(metadata.modificationTime)
{
+ ScriptWrappable::init(this);
}
File::File(const KURL& fileSystemURL, const FileMetadata& metadata)
@@ -138,6 +142,7 @@ File::File(const KURL& fileSystemURL, const FileMetadata& metadata)
, m_snapshotSize(metadata.length)
, m_snapshotModificationTime(metadata.modificationTime)
{
+ ScriptWrappable::init(this);
}
double File::lastModifiedDate() const
« no previous file with comments | « Source/WebCore/fileapi/Blob.cpp ('k') | Source/WebCore/fileapi/FileList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698