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

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

Issue 1162253006: An object may become a column spanner or cease to be one even if column-span doesn't change. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/LayoutMultiColumnSpannerPlaceholder.h
diff --git a/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h b/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h
index 1b48d4af8ff8ca97dbc1ceed513361b15f6aa8da..f604173d9b908e1b0af8f162159777910c6f3473 100644
--- a/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h
+++ b/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h
@@ -19,7 +19,7 @@ public:
static LayoutMultiColumnSpannerPlaceholder* createAnonymous(const ComputedStyle& parentStyle, LayoutBox&);
- LayoutFlowThread* flowThread() const { return toLayoutBlockFlow(parent())->multiColumnFlowThread(); }
+ LayoutMultiColumnFlowThread* flowThread() const { return toLayoutBlockFlow(parent())->multiColumnFlowThread(); }
LayoutBox* layoutObjectInFlowThread() const { return m_layoutObjectInFlowThread; }
void markForLayoutIfObjectInFlowThreadNeedsLayout()
@@ -30,6 +30,8 @@ public:
// spanner is laid out via its spanner set (us), so we need to make sure that we enter it.
setChildNeedsLayout(MarkOnlyThis);
}
+
+ void layoutObjectInFlowThreadStyleDidChange(const ComputedStyle* oldStyle);
void updateMarginProperties();
virtual const char* name() const override { return "LayoutMultiColumnSpannerPlaceholder"; }
« no previous file with comments | « Source/core/layout/LayoutMultiColumnFlowThread.cpp ('k') | Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698