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

Unified Diff: ui/compositor/compositing_recorder.cc

Issue 1069183002: ui: Remove the canvas() member from PaintContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/clip_transform_recorder.cc ('k') | ui/compositor/paint_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositing_recorder.cc
diff --git a/ui/compositor/compositing_recorder.cc b/ui/compositor/compositing_recorder.cc
index 20426af49ce9cfaf0c6bf79e0c08b86557c30de8..e4b80cecf3264e12192c6a996700eca1b50ea870 100644
--- a/ui/compositor/compositing_recorder.cc
+++ b/ui/compositor/compositing_recorder.cc
@@ -11,7 +11,7 @@ namespace ui {
CompositingRecorder::CompositingRecorder(const PaintContext& context,
uint8_t alpha)
- : canvas_(context.canvas()), saved_(alpha < 255) {
+ : canvas_(context.canvas_), saved_(alpha < 255) {
if (saved_)
canvas_->SaveLayerAlpha(alpha);
}
« no previous file with comments | « ui/compositor/clip_transform_recorder.cc ('k') | ui/compositor/paint_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698