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

Unified Diff: ui/gfx/canvas_paint.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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
Index: ui/gfx/canvas_paint.h
diff --git a/ui/gfx/canvas_paint.h b/ui/gfx/canvas_paint.h
index 105aea303624edc2a30e50435e541c1dde6a0f51..1ca2c29543a6408737b1c6da8360123ec1595eb8 100644
--- a/ui/gfx/canvas_paint.h
+++ b/ui/gfx/canvas_paint.h
@@ -11,7 +11,7 @@
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Rect;
class CanvasPaint {
@@ -29,7 +29,7 @@ class CanvasPaint {
virtual gfx::Rect GetInvalidRect() const = 0;
// Returns the underlying Canvas.
- virtual Canvas* AsCanvas() = 0;
+ virtual CanvasSkia* AsCanvas() = 0;
};
} // namespace gfx
« ash/app_list/app_list_item_view.h ('K') | « ui/gfx/canvas.cc ('k') | ui/gfx/canvas_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698