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

Issue 2587623002: Make LayoutSVGViewportContainer's viewport updates an internal detail (Closed)

Created:
4 years ago by pdr.
Modified:
4 years ago
Reviewers:
fs
CC:
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make LayoutSVGViewportContainer's viewport updates an internal detail determineIfLayoutSizeChanged was used by LayoutSVGContainer to let a subclass, LayoutSVGViewportContainer, update its "layout size changed" flag. This can be refactored by overriding layout (as LayoutSVGRoot does) so other subclasses of LayoutSVGContainer are not confused by this virtual. With this refactoring it is possible to recalculate the viewport only when needed (selfNeedsLayout), and move the viewport update out of calculateLocalTransform. No measurable perf difference, and no change in behavior. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/81824be93544dd0936c78b5a24a30c07a818a8ea Cr-Commit-Position: refs/heads/master@{#439437}

Patch Set 1 #

Patch Set 2 : Fix mistake in setting m_isLayoutSizeChanged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -26 lines) Patch
M third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGViewportContainer.cpp View 1 2 chunks +23 lines, -20 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
pdr.
4 years ago (2016-12-17 04:52:41 UTC) #2
pdr.
On 2016/12/17 at 06:12:17, commit-bot wrote: > Dry run: Try jobs failed on following builders: ...
4 years ago (2016-12-17 08:12:58 UTC) #8
pdr.
On 2016/12/17 at 08:12:58, pdr. wrote: > On 2016/12/17 at 06:12:17, commit-bot wrote: > > ...
4 years ago (2016-12-19 06:44:30 UTC) #14
fs
lgtm
4 years ago (2016-12-19 08:43:21 UTC) #17
fs
On 2016/12/19 at 06:44:30, pdr wrote: > On 2016/12/17 at 08:12:58, pdr. wrote: > > ...
4 years ago (2016-12-19 08:47:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2587623002/20001
4 years ago (2016-12-19 08:53:41 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-19 08:57:38 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-19 08:59:23 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/81824be93544dd0936c78b5a24a30c07a818a8ea
Cr-Commit-Position: refs/heads/master@{#439437}

Powered by Google App Engine
This is Rietveld 408576698