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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.h

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/core/fileapi/FileReader.h
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.h b/third_party/WebKit/Source/core/fileapi/FileReader.h
index ce98206101bd1dfc464298eba95801d6aed76c26..f1c04cbeee1553aa4519a662c51cbe9498668ce0 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.h
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.h
@@ -33,7 +33,7 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "core/CoreExport.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/SuspendableObject.h"
#include "core/events/EventTarget.h"
#include "core/fileapi/FileError.h"
#include "core/fileapi/FileReaderLoader.h"
@@ -51,7 +51,7 @@ class StringOrArrayBuffer;
class CORE_EXPORT FileReader final : public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public FileReaderLoaderClient {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(FileReader);
@@ -74,7 +74,7 @@ class CORE_EXPORT FileReader final : public EventTargetWithInlineData,
DOMException* error() { return m_error; }
void result(StringOrArrayBuffer& resultAttribute) const;
- // ActiveDOMObject
+ // SuspendableObject
void contextDestroyed() override;
// ScriptWrappable
@@ -83,7 +83,7 @@ class CORE_EXPORT FileReader final : public EventTargetWithInlineData,
// EventTarget
const AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
// FileReaderLoaderClient

Powered by Google App Engine
This is Rietveld 408576698