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

Unified Diff: Source/WebCore/rendering/RenderRegion.cpp

Issue 13679002: Add StyleChangeState to get rid of a bunch of static state in the render tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/WebCore/rendering/RenderRegion.cpp
diff --git a/Source/WebCore/rendering/RenderRegion.cpp b/Source/WebCore/rendering/RenderRegion.cpp
index 6a08b5c745fca1f700eb1c2fdd56278008f0b842..99a83e349bde1577f61cde4a2d8849cb1e98cf1a 100644
--- a/Source/WebCore/rendering/RenderRegion.cpp
+++ b/Source/WebCore/rendering/RenderRegion.cpp
@@ -249,9 +249,9 @@ bool RenderRegion::shouldHaveAutoLogicalHeight() const
return style()->logicalHeight().isAuto() && !hasAnchoredEndpointsForHeight;
}
-void RenderRegion::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
+void RenderRegion::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle, const StyleChangeState& state)
{
- RenderBlock::styleDidChange(diff, oldStyle);
+ RenderBlock::styleDidChange(diff, oldStyle, state);
// If the region is not attached to any thread, there is no need to check
// whether the region has region styling since no content will be displayed

Powered by Google App Engine
This is Rietveld 408576698