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

Unified Diff: third_party/WebKit/Source/platform/LifecycleNotifier.h

Issue 1381823002: Remove an assert that triggers a bad cast in blink::LifecycleNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no changes, just make sure the patch is accessible by bots Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/LifecycleNotifier.h
diff --git a/third_party/WebKit/Source/platform/LifecycleNotifier.h b/third_party/WebKit/Source/platform/LifecycleNotifier.h
index c22dea35b25ade4b8aa6a867f3aa237c7f6addd7..94a4784da7648b42c7e2439ab89309ef0a44d3f5 100644
--- a/third_party/WebKit/Source/platform/LifecycleNotifier.h
+++ b/third_party/WebKit/Source/platform/LifecycleNotifier.h
@@ -93,7 +93,6 @@ inline LifecycleNotifier<T, Observer>::~LifecycleNotifier()
#if !ENABLE(OILPAN)
TemporaryChange<IterationType> scope(m_iterating, IteratingOverAll);
for (Observer* observer : m_observers) {
- ASSERT(observer->lifecycleContext() == context());
observer->clearLifecycleContext();
}
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698