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

Issue 2749593002: Remove argument to LayoutSVGResourceGradient::collectGradientAttributes (Closed)

Created:
3 years, 9 months ago by fs
Modified:
3 years, 9 months ago
Reviewers:
pdr., Stephen Chennney
CC:
fs, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, fmalita+watch_chromium.org, 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

Remove argument to LayoutSVGResourceGradient::collectGradientAttributes We can assume that element() is non-null, and just cast it in the overriding implementations. Move the synchronizeAnimatedSVGAttribute(...) calls into actual attribute collection, so that it applies to all elements in the inheritance chain. Also rewrite the lengthy comment, because gradient building has changed significantly from what it describes, and attribute collection now precedes the actual Gradient construction. Replicate the new comment to the similar place for <pattern>s. BUG=661598 Review-Url: https://codereview.chromium.org/2749593002 Cr-Commit-Position: refs/heads/master@{#456662} Committed: https://chromium.googlesource.com/chromium/src/+/c9632b65e4048becc539dd103028a01a8d60e55c

Patch Set 1 #

Total comments: 3

Patch Set 2 : New comment #

Patch Set 3 : Rebase #

Messages

Total messages: 25 (16 generated)
fs
3 years, 9 months ago (2017-03-13 18:34:04 UTC) #7
pdr.
LGTM https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp (left): https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp#oldcode55 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp:55: // Be sure to synchronize all SVG properties ...
3 years, 9 months ago (2017-03-13 18:36:31 UTC) #8
fs
https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp (left): https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp#oldcode55 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp:55: // Be sure to synchronize all SVG properties on ...
3 years, 9 months ago (2017-03-13 18:44:47 UTC) #9
fs
https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp (left): https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp#oldcode55 third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp:55: // Be sure to synchronize all SVG properties on ...
3 years, 9 months ago (2017-03-13 19:54:45 UTC) #13
pdr.
On 2017/03/13 at 19:54:45, fs wrote: > https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp > File third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp (left): > > https://codereview.chromium.org/2749593002/diff/1/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.cpp#oldcode55 ...
3 years, 9 months ago (2017-03-13 20:03:08 UTC) #14
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/2749593002/20001
3 years, 9 months ago (2017-03-13 22:29:49 UTC) #17
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceGradient.h: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-13 23:31:00 UTC) #19
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/2749593002/40001
3 years, 9 months ago (2017-03-14 08:32:02 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 09:58:57 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c9632b65e4048becc539dd103028...

Powered by Google App Engine
This is Rietveld 408576698