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

Unified Diff: Source/platform/LifecycleContextTest.cpp

Issue 1132053002: [WIP]Oilpan: checking for nearly-dead observers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/platform/LifecycleContextTest.cpp
diff --git a/Source/platform/LifecycleContextTest.cpp b/Source/platform/LifecycleContextTest.cpp
index 883e26d8d8e8c43de2c09ea1005b071855ff62b9..ecb87ab0ddf6cc7ceb952d3d4bb43cfcaab8b1b7 100644
--- a/Source/platform/LifecycleContextTest.cpp
+++ b/Source/platform/LifecycleContextTest.cpp
@@ -63,7 +63,7 @@ public:
{
LifecycleObserver::contextDestroyed();
if (m_observerToRemoveOnDestruct) {
- lifecycleContext()->removeObserver(m_observerToRemoveOnDestruct.get());
+ lifecycleContext()->removeObserver(m_observerToRemoveOnDestruct.get(), false);
m_observerToRemoveOnDestruct.clear();
}
m_contextDestroyedCalled = true;

Powered by Google App Engine
This is Rietveld 408576698