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

Issue 1899243002: Get rid of SVGLayoutSupport::filtersForceContainerLayout (Closed)

Created:
4 years, 8 months ago by fs
Modified:
4 years, 8 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of SVGLayoutSupport::filtersForceContainerLayout Save the "has filter resource" part, and rename it to hasFilterResource. Hoist the normalChildNeedsLayout() part into the callers together with the comment. This makes the condition for forcing layout of children of an <svg> (outermost) root or a container more obvious. Also update a few places to use the new hasFilterResource helper. BUG=603956 Committed: https://crrev.com/f7ffad51fe92305e463f4af147f67a04f8b5b1a0 Cr-Commit-Position: refs/heads/master@{#388284}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -24 lines) Patch
M third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp View 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp View 1 chunk +5 lines, -1 line 1 comment Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp View 1 chunk +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGRootPainter.cpp View 2 chunks +3 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
fs
This is the first of a string of CLs that attempts to make the various ...
4 years, 8 months ago (2016-04-19 17:19:02 UTC) #2
pdr.
LGTM https://codereview.chromium.org/1899243002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): https://codereview.chromium.org/1899243002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp#newcode156 third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp:156: bool forceLayoutOfChildren = needsLayout This is a little ...
4 years, 8 months ago (2016-04-19 18:14:46 UTC) #3
pdr.
On 2016/04/19 at 18:14:46, pdr wrote: > LGTM > > https://codereview.chromium.org/1899243002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp > File third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp (right): ...
4 years, 8 months ago (2016-04-19 18:51:44 UTC) #4
fs
On 2016/04/19 at 18:51:44, pdr wrote: > On 2016/04/19 at 18:14:46, pdr wrote: > > ...
4 years, 8 months ago (2016-04-19 19:36:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899243002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899243002/1
4 years, 8 months ago (2016-04-19 19:36:46 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-19 19:41:08 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:20 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f7ffad51fe92305e463f4af147f67a04f8b5b1a0
Cr-Commit-Position: refs/heads/master@{#388284}

Powered by Google App Engine
This is Rietveld 408576698