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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 4 months 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.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
index 85fbce82ec18ba4c02a06f91aa6a127975646108..ae11c9220c056723dcf6a129d78cd27c73777e28 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp
@@ -20,6 +20,11 @@
namespace blink {
+bool ServiceWorkerRegistration::hasPendingActivity() const
+{
+ return !m_stopped;
+}
+
const AtomicString& ServiceWorkerRegistration::interfaceName() const
{
return EventTargetNames::ServiceWorkerRegistration;
@@ -131,11 +136,6 @@ DEFINE_TRACE(ServiceWorkerRegistration)
Supplementable<ServiceWorkerRegistration>::trace(visitor);
}
-bool ServiceWorkerRegistration::hasPendingActivity() const
-{
- return !m_stopped;
-}
-
void ServiceWorkerRegistration::stop()
{
if (m_stopped)

Powered by Google App Engine
This is Rietveld 408576698