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

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

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 9 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/FileWriter.idl ('k') | Source/modules/filesystem/FileWriterSync.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/FileWriterBase.h
diff --git a/Source/modules/filesystem/FileWriterBase.h b/Source/modules/filesystem/FileWriterBase.h
index 8cf9b87c0dfa8e6a7c01689b25c508f9ceef0cd4..d9202de8c759298fe7193fa3e11ee01779a0c8f0 100644
--- a/Source/modules/filesystem/FileWriterBase.h
+++ b/Source/modules/filesystem/FileWriterBase.h
@@ -31,6 +31,7 @@
#ifndef FileWriterBase_h
#define FileWriterBase_h
+#include "heap/Handle.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefCounted.h"
@@ -39,7 +40,7 @@ namespace blink { class WebFileWriter; }
namespace WebCore {
-class FileWriterBase : public RefCounted<FileWriterBase> {
+class FileWriterBase : public RefCountedWillBeRefCountedGarbageCollected<FileWriterBase> {
public:
virtual ~FileWriterBase();
void initialize(PassOwnPtr<blink::WebFileWriter>, long long length);
@@ -53,6 +54,8 @@ public:
return m_length;
}
+ virtual void trace(Visitor*) { }
+
protected:
FileWriterBase();
« no previous file with comments | « Source/modules/filesystem/FileWriter.idl ('k') | Source/modules/filesystem/FileWriterSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698