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

Issue 1897263002: Hoist transformToRootChanged() out of SVGLayoutSupport::layoutChildren (Closed)

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

Description

Hoist transformToRootChanged() out of SVGLayoutSupport::layoutChildren This function is really only relevant for LayoutSVG*Containers, and hence has a stronger logical tie to that part of the hierarchy. For LayoutSVGRoot it will always return false. Also rename the |selfNeedsLayout| argument to |forceLayout|, and the (somewhat) corresponding local variable |forceLayout] to |forceChildLayout|. Eliminate an unnecessary virtual call in transformToRootChanged(). Add const qualifier to didTransformToRootUpdate(). BUG=603956 Committed: https://crrev.com/51f58998a41a2ac0d379701b3f53095c1359092e Cr-Commit-Position: refs/heads/master@{#388292}

Patch Set 1 #

Total comments: 2

Messages

Total messages: 9 (3 generated)
fs
4 years, 8 months ago (2016-04-19 17:19:49 UTC) #2
pdr.
LGTM https://codereview.chromium.org/1897263002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp (right): https://codereview.chromium.org/1897263002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp#newcode38 third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp:38: SVGLayoutSupport::layoutChildren(this, selfNeedsLayout(), transformChanged); Can you remove this and ...
4 years, 8 months ago (2016-04-19 18:53:44 UTC) #3
fs
https://codereview.chromium.org/1897263002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp (right): https://codereview.chromium.org/1897263002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp#newcode38 third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp:38: SVGLayoutSupport::layoutChildren(this, selfNeedsLayout(), transformChanged); On 2016/04/19 at 18:53:44, pdr wrote: ...
4 years, 8 months ago (2016-04-19 19:39:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897263002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897263002/1
4 years, 8 months ago (2016-04-19 20:11:42 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-19 20:17:19 UTC) #7
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:15:40 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/51f58998a41a2ac0d379701b3f53095c1359092e
Cr-Commit-Position: refs/heads/master@{#388292}

Powered by Google App Engine
This is Rietveld 408576698