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

Issue 401883004: Extract RenderSVGModelObject::invalidatePaintIfNeeded() (Closed)

Created:
6 years, 5 months ago by Xianzhu
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink
Project:
blink
Visibility:
Public.

Description

Extract RenderSVGModelObject::invalidatePaintIfNeeded() This reduces duplicated code for early returns in original RenderSVGModelObject::invalidateTreeIfNeeded(), and helps to ensure all code needed to be executed for original and future early returns. BTW this fixes the issue caused by early return on !SVGRenderSupport::parentTransformDidChange(this) that descendants may miss update of previousPaintInvalidateRect() causing stale previousPaintInvalidateRect in later invalidation. BUG=394619 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178694

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : NeedsRebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -7 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/svg/repaint/transform-changed-state.html View 1 1 chunk +21 lines, -0 lines 0 comments Download
A + LayoutTests/svg/repaint/transform-changed-state-expected.txt View 1 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 1 2 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Xianzhu
6 years, 5 months ago (2014-07-18 21:13:41 UTC) #1
Xianzhu
PTAL. This is first of 4 patches split from https://codereview.chromium.org/398343003/ (Unified invalidation path).
6 years, 5 months ago (2014-07-21 16:48:35 UTC) #2
dsinclair
On 2014/07/21 16:48:35, Xianzhu wrote: > PTAL. This is first of 4 patches split from ...
6 years, 5 months ago (2014-07-21 17:05:44 UTC) #3
Xianzhu
On 2014/07/21 17:05:44, dsinclair wrote: > On 2014/07/21 16:48:35, Xianzhu wrote: > > PTAL. This ...
6 years, 5 months ago (2014-07-21 17:14:26 UTC) #4
dsinclair
On 2014/07/21 17:14:26, Xianzhu wrote: > On 2014/07/21 17:05:44, dsinclair wrote: > > The code ...
6 years, 5 months ago (2014-07-21 17:24:54 UTC) #5
Xianzhu
On 2014/07/21 17:24:54, dsinclair wrote: > On 2014/07/21 17:14:26, Xianzhu wrote: > > On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 21:43:46 UTC) #6
dsinclair
6 years, 5 months ago (2014-07-22 15:05:08 UTC) #7
Xianzhu
I think the change about the early return of !parentTransformDidChange is about correctness. We should ...
6 years, 5 months ago (2014-07-22 16:06:54 UTC) #8
fs
On 2014/07/21 17:24:54, dsinclair wrote: > On 2014/07/21 17:14:26, Xianzhu wrote: > > On 2014/07/21 ...
6 years, 5 months ago (2014-07-22 17:49:41 UTC) #9
dsinclair
lgtm
6 years, 5 months ago (2014-07-22 17:52:10 UTC) #10
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 5 months ago (2014-07-22 18:19:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/401883004/20001
6 years, 5 months ago (2014-07-22 18:20:29 UTC) #12
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 5 months ago (2014-07-22 19:06:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/401883004/40001
6 years, 5 months ago (2014-07-22 19:08:11 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 21:01:12 UTC) #15
Message was sent while issue was closed.
Change committed as 178694

Powered by Google App Engine
This is Rietveld 408576698