From 21f527e6a4a812b604dd0891b27878d8418c04d9 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Wed, 17 Dec 2008 23:29:40 +0000 Subject: Move the "platform" wrappers in skia/ext to the skia namespace. Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/gfx/chrome_canvas.h | 4 ++-- chrome/common/gfx/chrome_canvas_skia.cc | 4 ++-- chrome/common/gfx/chrome_canvas_win.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chrome/common/gfx') diff --git a/chrome/common/gfx/chrome_canvas.h b/chrome/common/gfx/chrome_canvas.h index 78b1cb1..0575b00 100644 --- a/chrome/common/gfx/chrome_canvas.h +++ b/chrome/common/gfx/chrome_canvas.h @@ -35,7 +35,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 skia::PlatformCanvas { public: // Specifies the alignment for text rendered with the DrawStringInt method. enum { @@ -182,7 +182,7 @@ class ChromeCanvas : public gfx::PlatformCanvas { }; #if defined(OS_WIN) -typedef gfx::CanvasPaintT ChromeCanvasPaint; +typedef skia::CanvasPaintT ChromeCanvasPaint; #endif #endif // CHROME_COMMON_GFX_CHROME_CANVAS_H_ diff --git a/chrome/common/gfx/chrome_canvas_skia.cc b/chrome/common/gfx/chrome_canvas_skia.cc index bbe3ca9..f68b347 100644 --- a/chrome/common/gfx/chrome_canvas_skia.cc +++ b/chrome/common/gfx/chrome_canvas_skia.cc @@ -15,10 +15,10 @@ #include "chrome/common/l10n_util.h" ChromeCanvas::ChromeCanvas(int width, int height, bool is_opaque) - : gfx::PlatformCanvasLinux(width, height, is_opaque) { + : skia::PlatformCanvasLinux(width, height, is_opaque) { } -ChromeCanvas::ChromeCanvas() : gfx::PlatformCanvasLinux() { +ChromeCanvas::ChromeCanvas() : skia::PlatformCanvasLinux() { } ChromeCanvas::~ChromeCanvas() { diff --git a/chrome/common/gfx/chrome_canvas_win.cc b/chrome/common/gfx/chrome_canvas_win.cc index 1c0442d..f28b0cb 100644 --- a/chrome/common/gfx/chrome_canvas_win.cc +++ b/chrome/common/gfx/chrome_canvas_win.cc @@ -91,10 +91,10 @@ int ComputeFormatFlags(int flags) { } // anonymous namespace ChromeCanvas::ChromeCanvas(int width, int height, bool is_opaque) - : gfx::PlatformCanvasWin(width, height, is_opaque) { + : skia::PlatformCanvasWin(width, height, is_opaque) { } -ChromeCanvas::ChromeCanvas() : gfx::PlatformCanvasWin() { +ChromeCanvas::ChromeCanvas() : skia::PlatformCanvasWin() { } ChromeCanvas::~ChromeCanvas() { -- cgit v1.1