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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.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/serviceworkers/ServiceWorkerRegistration.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index e5599ca2a2ec25c94afbfb8c1f63de8af937d07f..b748839ac42699a245e0133230bfcadd2f8df085 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -7,7 +7,7 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptPromiseResolver.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/SuspendableObject.h"
#include "core/events/EventTarget.h"
#include "modules/serviceworkers/NavigationPreloadManager.h"
#include "modules/serviceworkers/ServiceWorker.h"
@@ -29,7 +29,7 @@ class ScriptState;
class ServiceWorkerRegistration final
: public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public WebServiceWorkerRegistrationProxy,
public Supplementable<ServiceWorkerRegistration> {
DEFINE_WRAPPERTYPEINFO();
@@ -43,7 +43,7 @@ class ServiceWorkerRegistration final
// EventTarget overrides.
const AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
// WebServiceWorkerRegistrationProxy overrides.
@@ -84,7 +84,7 @@ class ServiceWorkerRegistration final
std::unique_ptr<WebServiceWorkerRegistration::Handle>);
void dispose();
- // ActiveDOMObject overrides.
+ // SuspendableObject overrides.
void contextDestroyed() override;
// A handle to the registration representation in the embedder.

Powered by Google App Engine
This is Rietveld 408576698