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

Unified Diff: Source/core/dom/MutationObserver.cpp

Issue 265793017: Oilpan: move node/element rare data objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + add some asserts for registration Node being present. 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
« no previous file with comments | « Source/core/dom/MutationObserver.h ('k') | Source/core/dom/MutationObserverRegistration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MutationObserver.cpp
diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
index d8ea3ddffc2835eb2ad3c661defa1b4dfb5b6f56..e36a1a7b243262d77d7a3ee733d7d72b8497f112 100644
--- a/Source/core/dom/MutationObserver.cpp
+++ b/Source/core/dom/MutationObserver.cpp
@@ -70,7 +70,9 @@ MutationObserver::MutationObserver(PassOwnPtr<MutationCallback> callback)
MutationObserver::~MutationObserver()
{
+#if !ENABLE(OILPAN)
ASSERT(m_registrations.isEmpty());
+#endif
if (!m_records.isEmpty())
InspectorInstrumentation::didClearAllMutationRecords(m_callback->executionContext(), this);
}
« no previous file with comments | « Source/core/dom/MutationObserver.h ('k') | Source/core/dom/MutationObserverRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698