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

Unified Diff: gfx/canvas_2.h

Issue 2862025: Canvas refactoring part 2.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | « gfx/canvas.cc ('k') | gfx/canvas_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gfx/canvas_2.h
===================================================================
--- gfx/canvas_2.h (revision 50557)
+++ gfx/canvas_2.h (working copy)
@@ -13,7 +13,7 @@
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Font;
class Rect;
@@ -175,7 +175,7 @@
// TODO(beng): remove this once we don't need to use any skia-specific methods
// through this interface.
// A quick and dirty way to obtain the underlying SkCanvas.
- virtual Canvas* AsCanvas() { return NULL; }
+ virtual CanvasSkia* AsCanvasSkia() { return NULL; }
};
class CanvasPaint2 {
« no previous file with comments | « gfx/canvas.cc ('k') | gfx/canvas_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698