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

Unified Diff: ui/compositor/paint_context.cc

Issue 1161933007: ui: Introduce CanvasPainter, remove PaintContext(gfx::Canvas*). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: canvaspainter: . Created 5 years, 6 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/paint_context.h ('k') | ui/views/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/paint_context.cc
diff --git a/ui/compositor/paint_context.cc b/ui/compositor/paint_context.cc
index 0d7d20f784960467187b183e9e512435b8e3db9b..7c44f449d2dc83a00fb9e604df6a6b0b92a042ab 100644
--- a/ui/compositor/paint_context.cc
+++ b/ui/compositor/paint_context.cc
@@ -38,10 +38,6 @@ PaintContext::PaintContext(cc::DisplayItemList* list,
#endif
}
-PaintContext::PaintContext(gfx::Canvas* canvas)
- : PaintContext(canvas, gfx::Rect()) {
-}
-
PaintContext::PaintContext(const PaintContext& other,
const gfx::Vector2d& offset)
: canvas_(other.canvas_),
« no previous file with comments | « ui/compositor/paint_context.h ('k') | ui/views/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698