Skip to content

Commit 8f614fc

Browse files
committed
Fix the !ENABLE(CSS_REGIONS) build after r198990
https://bugs.webkit.org/show_bug.cgi?id=157516 Reviewed by Ryosuke Niwa. * style/StyleTreeResolver.cpp: (WebCore::Style::affectsRenderedSubtree): Canonical link: https://commits.webkit.org/175662@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent aa3c3df commit 8f614fc

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎Source/WebCore/ChangeLog‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2016-05-10 Csaba Osztrogonác <ossy@webkit.org>
2+
3+
Fix the !ENABLE(CSS_REGIONS) build after r198990
4+
https://bugs.webkit.org/show_bug.cgi?id=157516
5+
6+
Reviewed by Ryosuke Niwa.
7+
8+
* style/StyleTreeResolver.cpp:
9+
(WebCore::Style::affectsRenderedSubtree):
10+
111
2016-05-05 Jer Noble <jer.noble@apple.com>
212

313
Return a Promise from HTMLMediaElement.play()

‎Source/WebCore/style/StyleTreeResolver.cpp‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,10 @@ static bool affectsRenderedSubtree(Element& element, const RenderStyle& newStyle
176176
return true;
177177
if (element.rendererIsNeeded(newStyle))
178178
return true;
179+
#if ENABLE(CSS_REGIONS)
179180
if (element.shouldMoveToFlowThread(newStyle))
180181
return true;
182+
#endif
181183
return false;
182184
}
183185

0 commit comments

Comments
 (0)