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

Issue 416543002: Move logic from NativeImageSkia to GraphicsContext and SkiaUtils (Closed)

Created:
6 years, 5 months ago by Rémi Piotaix
Modified:
6 years, 5 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move logic from NativeImageSkia to GraphicsContext and SkiaUtils Related to https://codereview.chromium.org/358893002: in this CL, preparePaint[...] is used in NativeImageSkia and will be used in StaticBitmapImage::draw() To avoid having a huge CL (and because it is possible), this change is proposed as a separate CL. BUG=344804, 170021 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178847

Patch Set 1 #

Total comments: 2

Patch Set 2 : Formatting #

Total comments: 2

Patch Set 3 : typos + renaming preparePaint #

Patch Set 4 : Deleted a declaration of private method not defined in NativeImageSkia #

Patch Set 5 : Test regressions fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -181 lines) Patch
M Source/platform/graphics/BitmapImage.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 2 3 4 3 chunks +49 lines, -1 line 0 comments Download
M Source/platform/graphics/skia/NativeImageSkia.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M Source/platform/graphics/skia/NativeImageSkia.cpp View 1 2 3 4 3 chunks +9 lines, -175 lines 0 comments Download
M Source/platform/graphics/skia/SkiaUtils.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
M Source/platform/graphics/skia/SkiaUtils.cpp View 1 2 3 4 1 chunk +142 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Rémi Piotaix
PTAL
6 years, 5 months ago (2014-07-23 15:41:11 UTC) #1
jbroman
just a drive-by comment https://codereview.chromium.org/416543002/diff/1/Source/platform/graphics/GraphicsContext.h File Source/platform/graphics/GraphicsContext.h (right): https://codereview.chromium.org/416543002/diff/1/Source/platform/graphics/GraphicsContext.h#newcode414 Source/platform/graphics/GraphicsContext.h:414: void preparePaint( drive-by: please use ...
6 years, 5 months ago (2014-07-23 15:48:59 UTC) #2
Justin Novosad
https://codereview.chromium.org/416543002/diff/20001/Source/platform/graphics/GraphicsContext.h File Source/platform/graphics/GraphicsContext.h (right): https://codereview.chromium.org/416543002/diff/20001/Source/platform/graphics/GraphicsContext.h#newcode240 Source/platform/graphics/GraphicsContext.h:240: SkColorFilter* colorFilter() const; could the return value be const ...
6 years, 5 months ago (2014-07-23 17:19:05 UTC) #3
Rémi Piotaix
On 2014/07/23 15:48:59, jbroman wrote: > just a drive-by comment > > https://codereview.chromium.org/416543002/diff/1/Source/platform/graphics/GraphicsContext.h > File ...
6 years, 5 months ago (2014-07-23 17:27:22 UTC) #4
Rémi Piotaix
https://codereview.chromium.org/416543002/diff/1/Source/platform/graphics/GraphicsContext.h File Source/platform/graphics/GraphicsContext.h (right): https://codereview.chromium.org/416543002/diff/1/Source/platform/graphics/GraphicsContext.h#newcode414 Source/platform/graphics/GraphicsContext.h:414: void preparePaint( On 2014/07/23 15:48:59, jbroman wrote: > drive-by: ...
6 years, 5 months ago (2014-07-23 17:28:23 UTC) #5
Justin Novosad
> > https://codereview.chromium.org/416543002/diff/20001/Source/platform/graphics/GraphicsContext.h#newcode240 > Source/platform/graphics/GraphicsContext.h:240: SkColorFilter* colorFilter() > const; > On 2014/07/23 17:19:05, junov wrote: ...
6 years, 5 months ago (2014-07-23 17:49:21 UTC) #6
Stephen Chennney
Could you please explain in the CL the reason why this is necessary? I'm negative ...
6 years, 5 months ago (2014-07-23 18:10:09 UTC) #7
Rémi Piotaix
On 2014/07/23 18:10:09, Stephen Chenney wrote: > Could you please explain in the CL the ...
6 years, 5 months ago (2014-07-23 18:28:50 UTC) #8
Stephen Chennney
Thanks. That addresses my concern. I'll let one of the primary commenters give the final ...
6 years, 5 months ago (2014-07-23 19:04:41 UTC) #9
Justin Novosad
On 2014/07/23 19:04:41, Stephen Chenney wrote: > Thanks. That addresses my concern. I'll let one ...
6 years, 5 months ago (2014-07-24 14:18:18 UTC) #10
Justin Novosad
On 2014/07/24 14:18:18, junov wrote: > On 2014/07/23 19:04:41, Stephen Chenney wrote: > > Thanks. ...
6 years, 5 months ago (2014-07-24 14:46:41 UTC) #11
Rémi Piotaix
The CQ bit was checked by piotaixr@chromium.org
6 years, 5 months ago (2014-07-24 15:01:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piotaixr@chromium.org/416543002/80001
6 years, 5 months ago (2014-07-24 15:02:00 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 15:52:45 UTC) #14
Message was sent while issue was closed.
Change committed as 178847

Powered by Google App Engine
This is Rietveld 408576698