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

Issue 212993004: GC::saveLayer() may taint the current clip. (Closed)

Created:
6 years, 9 months ago by f(malita)
Modified:
6 years, 9 months ago
Reviewers:
schenney, Stephen White, reed1
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis, reed1
Visibility:
Public.

Description

GC::saveLayer() may taint the current clip. SaveLayer() can optionally apply a clip. In that case we need to make sure that we're saving the current clip, to avoid tainting it. This was discovered while experimenting with SaveFlags removal and requires a minor test rebaseline. R=schenney@chormium.org,senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170096

Patch Set 1 #

Patch Set 2 : Always save the clip & matrix. #

Total comments: 2

Patch Set 3 : Updated per comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 2 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
f(malita)
6 years, 9 months ago (2014-03-26 16:09:10 UTC) #1
reed1
lgtm
6 years, 9 months ago (2014-03-26 16:16:38 UTC) #2
Stephen White
(I actually had another patch for this, but I can't find it right now .) ...
6 years, 9 months ago (2014-03-26 16:29:15 UTC) #3
Stephen White
On 2014/03/26 16:29:15, Stephen White wrote: > (I actually had another patch for this, but ...
6 years, 9 months ago (2014-03-26 16:32:55 UTC) #4
Stephen White
On 2014/03/26 16:32:55, Stephen White wrote: > On 2014/03/26 16:29:15, Stephen White wrote: > > ...
6 years, 9 months ago (2014-03-26 16:36:17 UTC) #5
f(malita)
On 2014/03/26 16:29:15, Stephen White wrote: > (I actually had another patch for this, but ...
6 years, 9 months ago (2014-03-26 16:56:50 UTC) #6
f(malita)
Updated.
6 years, 9 months ago (2014-03-26 16:59:34 UTC) #7
Stephen White
On 2014/03/26 16:56:50, Florin Malita wrote: > On 2014/03/26 16:29:15, Stephen White wrote: > > ...
6 years, 9 months ago (2014-03-26 17:38:27 UTC) #8
Stephen White
LGTM https://codereview.chromium.org/212993004/diff/20001/Source/platform/graphics/GraphicsContext.cpp File Source/platform/graphics/GraphicsContext.cpp (right): https://codereview.chromium.org/212993004/diff/20001/Source/platform/graphics/GraphicsContext.cpp#newcode192 Source/platform/graphics/GraphicsContext.cpp:192: SkCanvas::kMatrixClip_SaveFlag | extraFlags); Just an idea, but we ...
6 years, 9 months ago (2014-03-26 17:45:52 UTC) #9
f(malita)
https://codereview.chromium.org/212993004/diff/20001/Source/platform/graphics/GraphicsContext.cpp File Source/platform/graphics/GraphicsContext.cpp (right): https://codereview.chromium.org/212993004/diff/20001/Source/platform/graphics/GraphicsContext.cpp#newcode192 Source/platform/graphics/GraphicsContext.cpp:192: SkCanvas::kMatrixClip_SaveFlag | extraFlags); On 2014/03/26 17:45:52, Stephen White wrote: ...
6 years, 9 months ago (2014-03-26 19:31:28 UTC) #10
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 9 months ago (2014-03-26 19:31:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fmalita@chromium.org/212993004/40001
6 years, 9 months ago (2014-03-26 19:31:33 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 20:41:13 UTC) #13
Message was sent while issue was closed.
Change committed as 170096

Powered by Google App Engine
This is Rietveld 408576698