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

Issue 1064103002: ui: Make compositor unittests access the canvas through PaintRecorder. (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
Reviewers:
sadrul, piman
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, cc-bugs_chromium.org, enne (OOO), sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui: Make compositor unittests access the canvas through PaintRecorder. Don't access the canvas() through the PaintContext, to allow the PaintContext to be backed by a DisplayItemList instead of a Canvas in the future. R=piman@chromium.org, sadrul BUG=466426 Committed: https://crrev.com/c73232294c5510e8f05e61b48708b7c2f48faae3 Cr-Commit-Position: refs/heads/master@{#324120}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -9 lines) Patch
M ui/compositor/layer_unittest.cc View 6 chunks +10 lines, -9 lines 0 comments Download
M ui/compositor/paint_context.h View 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 9 (1 generated)
danakj
5 years, 8 months ago (2015-04-07 18:59:58 UTC) #1
danakj
Sadrul you're not an owner here, but I am and I thought you might be ...
5 years, 8 months ago (2015-04-07 19:00:29 UTC) #2
sadrul
lgtm https://codereview.chromium.org/1064103002/diff/1/ui/compositor/paint_context.h File ui/compositor/paint_context.h (right): https://codereview.chromium.org/1064103002/diff/1/ui/compositor/paint_context.h#newcode70 ui/compositor/paint_context.h:70: const gfx::Rect& InvalidationForTesting() const { return invalidation_; } ...
5 years, 8 months ago (2015-04-07 19:05:12 UTC) #3
piman
lgtm
5 years, 8 months ago (2015-04-07 19:27:20 UTC) #4
danakj
https://codereview.chromium.org/1064103002/diff/1/ui/compositor/paint_context.h File ui/compositor/paint_context.h (right): https://codereview.chromium.org/1064103002/diff/1/ui/compositor/paint_context.h#newcode70 ui/compositor/paint_context.h:70: const gfx::Rect& InvalidationForTesting() const { return invalidation_; } On ...
5 years, 8 months ago (2015-04-07 20:09:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1064103002/1
5 years, 8 months ago (2015-04-07 20:10:34 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 8 months ago (2015-04-07 21:09:49 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 21:11:30 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c73232294c5510e8f05e61b48708b7c2f48faae3
Cr-Commit-Position: refs/heads/master@{#324120}

Powered by Google App Engine
This is Rietveld 408576698