diff options
Diffstat (limited to 'chrome/common/gfx')
-rw-r--r-- | chrome/common/gfx/chrome_canvas.cc | 4 | ||||
-rw-r--r-- | chrome/common/gfx/chrome_canvas.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/gfx/chrome_canvas.cc b/chrome/common/gfx/chrome_canvas.cc index b73a407..9fc776f 100644 --- a/chrome/common/gfx/chrome_canvas.cc +++ b/chrome/common/gfx/chrome_canvas.cc @@ -38,10 +38,10 @@ #include "chrome/common/l10n_util.h" ChromeCanvas::ChromeCanvas(int width, int height, bool is_opaque) - : gfx::PlatformCanvas(width, height, is_opaque) { + : gfx::PlatformCanvasWin(width, height, is_opaque) { } -ChromeCanvas::ChromeCanvas() : gfx::PlatformCanvas() { +ChromeCanvas::ChromeCanvas() : gfx::PlatformCanvasWin() { } ChromeCanvas::~ChromeCanvas() { diff --git a/chrome/common/gfx/chrome_canvas.h b/chrome/common/gfx/chrome_canvas.h index 4c6d63d..bc29deb 100644 --- a/chrome/common/gfx/chrome_canvas.h +++ b/chrome/common/gfx/chrome_canvas.h @@ -33,7 +33,7 @@ #include <windows.h> #include <string> #include "base/basictypes.h" -#include "base/gfx/platform_canvas.h" +#include "base/gfx/platform_canvas_win.h" class ChromeFont; namespace gfx { @@ -56,7 +56,7 @@ class Rect; // source and destination colors are combined. Unless otherwise specified, // the variant that does not take a SkPorterDuff::Mode uses a transfer mode // of kSrcOver_Mode. -class ChromeCanvas : public gfx::PlatformCanvas { +class ChromeCanvas : public gfx::PlatformCanvasWin { public: // Specifies the alignment for text rendered with the DrawStringInt method. static const int TEXT_ALIGN_LEFT = 1; |