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

Issue 1116523002: cc: Remove save/restore from DrawingDisplayItem::Raster. (Closed)

Created:
5 years, 7 months ago by jbroman
Modified:
5 years, 7 months ago
Reviewers:
danakj, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org, reed1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Remove save/restore from DrawingDisplayItem::Raster. Skia already calls save/restore on the canvas. BUG= Committed: https://crrev.com/6ebd2b851d626870be2cb0cdc44daee5e058c10b Cr-Commit-Position: refs/heads/master@{#327395}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M cc/resources/drawing_display_item.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
jbroman
reed@ pointed out that this save/restore is unnecessary because Skia already guarantees this.
5 years, 7 months ago (2015-04-28 21:45:29 UTC) #2
danakj
https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (left): https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc#oldcode29 cc/resources/drawing_display_item.cc:29: canvas->save(); could you say this in a comment here?
5 years, 7 months ago (2015-04-28 21:46:42 UTC) #4
jbroman
https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (left): https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc#oldcode29 cc/resources/drawing_display_item.cc:29: canvas->save(); On 2015/04/28 21:46:41, danakj wrote: > could you ...
5 years, 7 months ago (2015-04-28 21:48:16 UTC) #5
ajuma
https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (left): https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc#oldcode33 cc/resources/drawing_display_item.cc:33: canvas->drawPicture(picture_.get()); Does drawPicture also guarantee save/restore?
5 years, 7 months ago (2015-04-28 21:48:50 UTC) #6
jbroman
https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc File cc/resources/drawing_display_item.cc (left): https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc#oldcode33 cc/resources/drawing_display_item.cc:33: canvas->drawPicture(picture_.get()); On 2015/04/28 21:48:50, ajuma wrote: > Does drawPicture ...
5 years, 7 months ago (2015-04-28 21:55:33 UTC) #7
ajuma
On 2015/04/28 21:55:33, jbroman wrote: > https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc > File cc/resources/drawing_display_item.cc (left): > > https://codereview.chromium.org/1116523002/diff/1/cc/resources/drawing_display_item.cc#oldcode33 > ...
5 years, 7 months ago (2015-04-28 21:58:21 UTC) #8
danakj
LGTM
5 years, 7 months ago (2015-04-28 22:04:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116523002/20001
5 years, 7 months ago (2015-04-28 22:05:09 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-04-29 00:05:25 UTC) #12
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 00:06:14 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6ebd2b851d626870be2cb0cdc44daee5e058c10b
Cr-Commit-Position: refs/heads/master@{#327395}

Powered by Google App Engine
This is Rietveld 408576698