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

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

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
Index: Source/core/layout/LayoutCounter.h
diff --git a/Source/core/layout/LayoutCounter.h b/Source/core/layout/LayoutCounter.h
index da23b9ac5e2c99dd446c1751cb6af50cd71dec1c..357e2f973bdbe13dd403e51e9ab9b932536b1db1 100644
--- a/Source/core/layout/LayoutCounter.h
+++ b/Source/core/layout/LayoutCounter.h
@@ -37,7 +37,7 @@ public:
static void destroyCounterNodes(LayoutObject&);
static void destroyCounterNode(LayoutObject&, const AtomicString& identifier);
static void layoutObjectSubtreeAttached(LayoutObject*);
- static void layoutObjectRemovedFromTree(LayoutObject*);
+ static void layoutObjectSubtreeWillBeDetached(LayoutObject*);
static void layoutObjectStyleChanged(LayoutObject&, const ComputedStyle* oldStyle, const ComputedStyle& newStyle);
void updateCounter();
« no previous file with comments | « LayoutTests/fast/css/counters/remove-anonymous-block-wrapper-crash-expected.txt ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698