Index: Source/core/fileapi/FileReader.h |
diff --git a/Source/core/fileapi/FileReader.h b/Source/core/fileapi/FileReader.h |
index 22f3708921c165413951991671e27882574c7449..7b21d6c791014bf965e40aa387bf46d5fc89933c 100644 |
--- a/Source/core/fileapi/FileReader.h |
+++ b/Source/core/fileapi/FileReader.h |
@@ -47,7 +47,7 @@ class Blob; |
class ExceptionState; |
class ScriptExecutionContext; |
-class FileReader : public RefCounted<FileReader>, public ScriptWrappable, public ActiveDOMObject, public EventTarget, public FileReaderLoaderClient { |
+class FileReader : public RefCounted<FileReader>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData, public FileReaderLoaderClient { |
public: |
static PassRefPtr<FileReader> create(ScriptExecutionContext*); |
@@ -79,8 +79,8 @@ public: |
virtual void stop(); |
// EventTarget |
- virtual const AtomicString& interfaceName() const; |
- virtual ScriptExecutionContext* scriptExecutionContext() const { return ActiveDOMObject::scriptExecutionContext(); } |
+ virtual const AtomicString& interfaceName() const OVERRIDE; |
+ virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE { return ActiveDOMObject::scriptExecutionContext(); } |
// FileReaderLoaderClient |
virtual void didStartLoading(); |
@@ -102,10 +102,8 @@ private: |
FileReader(ScriptExecutionContext*); |
// EventTarget |
- virtual void refEventTarget() { ref(); } |
- virtual void derefEventTarget() { deref(); } |
- virtual EventTargetData* eventTargetData() { return &m_eventTargetData; } |
- virtual EventTargetData* ensureEventTargetData() { return &m_eventTargetData; } |
+ virtual void refEventTarget() OVERRIDE { ref(); } |
+ virtual void derefEventTarget() OVERRIDE { deref(); } |
void terminate(); |
void readInternal(Blob*, FileReaderLoader::ReadType, ExceptionState&); |
@@ -123,8 +121,6 @@ private: |
}; |
LoadingState m_loadingState; |
- EventTargetData m_eventTargetData; |
- |
RefPtr<Blob> m_blob; |
FileReaderLoader::ReadType m_readType; |
String m_encoding; |