Index: Source/modules/filesystem/FileWriter.h |
diff --git a/Source/modules/filesystem/FileWriter.h b/Source/modules/filesystem/FileWriter.h |
index cea0b69299135052d608e35b0ff38b44c74ee511..576013860c7f2650c449681eb1ccee84d752167c 100644 |
--- a/Source/modules/filesystem/FileWriter.h |
+++ b/Source/modules/filesystem/FileWriter.h |
@@ -48,10 +48,10 @@ class Blob; |
class ExceptionState; |
class ExecutionContext; |
-class FileWriter FINAL : public ScriptWrappable, public FileWriterBase, public ActiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterClient { |
- DEFINE_EVENT_TARGET_REFCOUNTING(FileWriterBase); |
+class FileWriter FINAL : public FileWriterBase, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public blink::WebFileWriterClient { |
+ DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<FileWriterBase>); |
public: |
- static PassRefPtr<FileWriter> create(ExecutionContext*); |
+ static PassRefPtrWillBeRawPtr<FileWriter> create(ExecutionContext*); |
enum ReadyState { |
INIT = 0, |
@@ -85,6 +85,8 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(writeend); |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
enum Operation { |
OperationNone, |
@@ -107,7 +109,7 @@ private: |
void setError(FileError::ErrorCode, ExceptionState&); |
- RefPtrWillBePersistent<FileError> m_error; |
+ RefPtrWillBeMember<FileError> m_error; |
ReadyState m_readyState; |
Operation m_operationInProgress; |
Operation m_queuedOperation; |
@@ -117,7 +119,7 @@ private: |
long long m_numAborts; |
long long m_recursionDepth; |
double m_lastProgressNotificationTimeMS; |
- RefPtrWillBePersistent<Blob> m_blobBeingWritten; |
+ RefPtrWillBeMember<Blob> m_blobBeingWritten; |
}; |
} // namespace WebCore |