Index: third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp b/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp |
index 840b2fc1d58853fa78b2eb5a575e41f85faee1af..bf8cbb4d26f0f57946a8b78879c116ed59359fc6 100644 |
--- a/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp |
@@ -104,18 +104,6 @@ unsigned ContextLifecycleNotifier::activeDOMObjectCount() const |
return activeDOMObjects; |
} |
-bool ContextLifecycleNotifier::hasPendingActivity() const |
-{ |
- for (ContextLifecycleObserver* observer : m_observers) { |
- if (observer->observerType() != ContextLifecycleObserver::ActiveDOMObjectType) |
- continue; |
- ActiveDOMObject* activeDOMObject = static_cast<ActiveDOMObject*>(observer); |
- if (activeDOMObject->hasPendingActivity()) |
- return true; |
- } |
- return false; |
-} |
- |
#if ENABLE(ASSERT) |
bool ContextLifecycleNotifier::contains(ActiveDOMObject* object) const |
{ |