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

Unified Diff: third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp

Issue 1133713008: [WIP] Migrate hasPendingActivity from ActiveDOMObject to ScriptWrappable. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review Comments Created 5 years, 2 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/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 7ce7a1e25bbee4d0b8d054840842f8dc41271571..79d84cc765845fb58783d94ad702fa38c9368f14 100644
--- a/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
+++ b/third_party/WebKit/Source/core/dom/ContextLifecycleNotifier.cpp
@@ -110,8 +110,8 @@ bool ContextLifecycleNotifier::hasPendingActivity() const
for (ContextLifecycleObserver* observer : m_observers) {
if (observer->observerType() != ContextLifecycleObserver::ActiveDOMObjectType)
continue;
- ActiveDOMObject* activeDOMObject = static_cast<ActiveDOMObject*>(observer);
- if (activeDOMObject->hasPendingActivity())
+ // ActiveDOMObject* activeDOMObject = static_cast<ActiveDOMObject*>(observer);
+ // if (activeDOMObject->hasPendingActivity())
yurys 2015/10/29 16:28:26 Revert this?
return true;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698