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

Unified Diff: third_party/WebKit/Source/modules/notifications/Notification.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/modules/notifications/Notification.h
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.h b/third_party/WebKit/Source/modules/notifications/Notification.h
index ef5b78dbb5e60b7e4fdd59bc5f46ac5783bfdeab..829a09d899c48527f7a84841b41046a153e79feb 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.h
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h
@@ -35,8 +35,8 @@
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/SerializedScriptValue.h"
-#include "core/dom/ActiveDOMObject.h"
#include "core/dom/DOMTimeStamp.h"
+#include "core/dom/SuspendableObject.h"
#include "modules/EventTargetModules.h"
#include "modules/ModulesExport.h"
#include "modules/vibration/NavigatorVibration.h"
@@ -59,7 +59,7 @@ class ScriptState;
class MODULES_EXPORT Notification final : public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public WebNotificationDelegate {
USING_GARBAGE_COLLECTED_MIXIN(Notification);
DEFINE_WRAPPERTYPEINFO();
@@ -120,11 +120,11 @@ class MODULES_EXPORT Notification final : public EventTargetWithInlineData,
// EventTarget interface.
ExecutionContext* getExecutionContext() const final {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
const AtomicString& interfaceName() const override;
- // ActiveDOMObject interface.
+ // SuspendableObject interface.
void contextDestroyed() override;
// ScriptWrappable interface.

Powered by Google App Engine
This is Rietveld 408576698