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

Unified Diff: Source/modules/filesystem/Metadata.h

Issue 15127005: Make filesystem objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Really fix revert of DOMWindowFileSystem. Created 7 years, 7 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/modules/filesystem/FileWriterSync.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/Metadata.h
diff --git a/Source/modules/filesystem/Metadata.h b/Source/modules/filesystem/Metadata.h
index 9a08510a202cee1134c0de8a3a64d6618ee9d253..df99cff092d386b02fa692fc59d3860ad888ec92 100644
--- a/Source/modules/filesystem/Metadata.h
+++ b/Source/modules/filesystem/Metadata.h
@@ -31,12 +31,13 @@
#ifndef Metadata_h
#define Metadata_h
+#include "bindings/v8/ScriptWrappable.h"
#include "core/platform/FileMetadata.h"
#include "wtf/RefCounted.h"
namespace WebCore {
-class Metadata : public RefCounted<Metadata> {
+class Metadata : public RefCounted<Metadata>, public ScriptWrappable {
public:
static PassRefPtr<Metadata> create(const FileMetadata& platformMetadata)
{
@@ -56,6 +57,7 @@ private:
explicit Metadata(const FileMetadata& platformMetadata)
: m_platformMetadata(platformMetadata)
{
+ ScriptWrappable::init(this);
}
FileMetadata m_platformMetadata;
« no previous file with comments | « Source/modules/filesystem/FileWriterSync.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698