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

Issue 559653006: Align assumptions in RenderSVGResourceSolidColor with other paint servers (Closed)

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

Description

Align assumptions in RenderSVGResourceSolidColor with other paint servers Since the SVG fonts code-path no longer directly call RenderSVGResource::applyResource, the same pre-conditions should hold for RenderSVGResourceSolidColor as for the other paint servers. Drop the existing (stale) comment and assert that |object| and |style| are non-null instead. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182159

Patch Set 1 #

Patch Set 2 : Propagate condition to drawSVGGlyphs. #

Patch Set 3 : Restore comment... #

Patch Set 4 : Align further after SVG-font change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -11 lines) Patch
M Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp View 1 2 3 1 chunk +9 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
fs
6 years, 3 months ago (2014-09-12 12:03:49 UTC) #2
f(malita)
This is not immediately obvious to me. SVGTextRunRenderingContext::drawSVGGlyphs passes *parentRenderObject* as a renderer, which it ...
6 years, 3 months ago (2014-09-12 14:00:50 UTC) #3
fs
On 2014/09/12 14:00:50, Florin Malita wrote: > This is not immediately obvious to me. SVGTextRunRenderingContext::drawSVGGlyphs ...
6 years, 3 months ago (2014-09-12 14:11:51 UTC) #4
fs
On 2014/09/12 14:11:51, fs wrote: > On 2014/09/12 14:00:50, Florin Malita wrote: > > This ...
6 years, 3 months ago (2014-09-17 14:15:30 UTC) #5
f(malita)
lgtm
6 years, 3 months ago (2014-09-17 14:18:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/559653006/60001
6 years, 3 months ago (2014-09-17 14:59:51 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 15:15:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 182159

Powered by Google App Engine
This is Rietveld 408576698