Index: Source/modules/filesystem/FileWriterSync.h |
diff --git a/Source/modules/filesystem/FileWriterSync.h b/Source/modules/filesystem/FileWriterSync.h |
index 12f4c326e0cceea8c643c9a4b75e7e6a467bdce5..259c484c9b8090a86b79c861cdb6db8101dfae28 100644 |
--- a/Source/modules/filesystem/FileWriterSync.h |
+++ b/Source/modules/filesystem/FileWriterSync.h |
@@ -33,6 +33,7 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "core/fileapi/FileError.h" |
+#include "heap/Handle.h" |
#include "modules/filesystem/FileWriterBase.h" |
#include "public/platform/WebFileWriterClient.h" |
#include "wtf/PassRefPtr.h" |
@@ -42,11 +43,11 @@ namespace WebCore { |
class Blob; |
class ExceptionState; |
-class FileWriterSync FINAL : public ScriptWrappable, public FileWriterBase, public blink::WebFileWriterClient { |
+class FileWriterSync FINAL : public FileWriterBase, public ScriptWrappable, public blink::WebFileWriterClient { |
public: |
- static PassRefPtr<FileWriterSync> create() |
+ static PassRefPtrWillBeRawPtr<FileWriterSync> create() |
{ |
- return adoptRef(new FileWriterSync()); |
+ return adoptRefWillBeRefCountedGarbageCollected(new FileWriterSync()); |
} |
virtual ~FileWriterSync(); |