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

Issue 597053003: Move color/gradient/pattern out of StrokeData (Closed)

Created:
6 years, 3 months ago by fs
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, pdr+graphicswatchlist_chromium.org, jbroman, mkwst+moarreviews_chromium.org, danakj, Rik, Stephen Chennney, krit, rwlbuis
Project:
blink
Visibility:
Public.

Description

Move color/gradient/pattern out of StrokeData The "other methods" referred to in the documentation of StrokeData, only use the stroke information that pertain to the "geometry" of the stroke. This means that m_color/m_gradient/m_pattern are dead weight except for the use in GraphicsContextState. Move those fields to GCS for better separation of "geometry" and "ink". Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182610

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -52 lines) Patch
M Source/platform/graphics/GraphicsContext.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/GraphicsContextState.h View 2 chunks +11 lines, -10 lines 0 comments Download
M Source/platform/graphics/GraphicsContextState.cpp View 6 chunks +26 lines, -22 lines 0 comments Download
M Source/platform/graphics/StrokeData.h View 3 chunks +1 line, -16 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
fs
If you know of anyone else that could have an opinion on this, please include ...
6 years, 3 months ago (2014-09-24 13:29:26 UTC) #2
Stephen Chennney
From memory I added this to cope with Canvas or SVG needing to store this ...
6 years, 3 months ago (2014-09-24 14:52:49 UTC) #3
Stephen Chennney
So I'll lgtm because the try bots pass.
6 years, 3 months ago (2014-09-24 14:53:09 UTC) #4
fs
On 2014/09/24 14:52:49, Stephen Chenney wrote: > From memory I added this to cope with ...
6 years, 3 months ago (2014-09-24 15:50:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/597053003/1
6 years, 3 months ago (2014-09-24 15:51:44 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 16:12:20 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 182610

Powered by Google App Engine
This is Rietveld 408576698