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

Unified Diff: Source/core/frame/DOMWindow.cpp

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another build fix. Created 6 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/core/frame/DOMWindow.cpp
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
index 58eb5f81e01198d54b8ca2702ff2913171ed1e1e..27f4ff25fc4e83acd71e25504d6bb67a3eb10c5c 100644
--- a/Source/core/frame/DOMWindow.cpp
+++ b/Source/core/frame/DOMWindow.cpp
@@ -486,7 +486,12 @@ DOMWindow::~DOMWindow()
removeAllEventListeners();
+#if ENABLE(OILPAN)
+ ASSERT(m_document->isDisposed());
+#else
ASSERT(m_document->isStopped());
+#endif
+
clearDocument();
}

Powered by Google App Engine
This is Rietveld 408576698