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

Unified Diff: Source/core/layout/LayoutCounter.cpp

Issue 1143323011: Notify the counter code about layout object removals BEFORE removing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/core/layout/LayoutCounter.h ('k') | Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutCounter.cpp
diff --git a/Source/core/layout/LayoutCounter.cpp b/Source/core/layout/LayoutCounter.cpp
index 290e784bac912d43c383e8a580e254796c2e64db..d9b9e4cfc2c62e26ab40b99e07462933e2d8973f 100644
--- a/Source/core/layout/LayoutCounter.cpp
+++ b/Source/core/layout/LayoutCounter.cpp
@@ -468,7 +468,7 @@ void LayoutCounter::destroyCounterNode(LayoutObject& owner, const AtomicString&
// map associated with a layoutObject, so there is no risk in leaking the map.
}
-void LayoutCounter::layoutObjectRemovedFromTree(LayoutObject* layoutObject)
+void LayoutCounter::layoutObjectSubtreeWillBeDetached(LayoutObject* layoutObject)
{
ASSERT(layoutObject->view());
if (!layoutObject->view()->hasLayoutCounters())
« no previous file with comments | « Source/core/layout/LayoutCounter.h ('k') | Source/core/layout/LayoutObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698