Index: Source/core/fileapi/FileReader.h |
diff --git a/Source/core/fileapi/FileReader.h b/Source/core/fileapi/FileReader.h |
index 8f1b00cb2233896faa852a97b5e79a381b01888e..81f4c1907eb3af5e0246778565c76d6f12142495 100644 |
--- a/Source/core/fileapi/FileReader.h |
+++ b/Source/core/fileapi/FileReader.h |
@@ -46,6 +46,7 @@ class Blob; |
class DOMArrayBuffer; |
class ExceptionState; |
class ExecutionContext; |
+class StringOrArrayBuffer; |
class FileReader final : public RefCountedGarbageCollectedEventTargetWithInlineData<FileReader>, public ActiveDOMObject, public FileReaderLoaderClient { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -73,9 +74,7 @@ public: |
ReadyState readyState() const { return m_state; } |
FileError* error() { return m_error; } |
- FileReaderLoader::ReadType readType() const { return m_readType; } |
- PassRefPtr<DOMArrayBuffer> arrayBufferResult() const; |
- String stringResult(); |
+ void result(StringOrArrayBuffer& resultAttribute) const; |
// ActiveDOMObject |
virtual void stop() override; |