summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
commit21f527e6a4a812b604dd0891b27878d8418c04d9 (patch)
tree4dec5cb778e0b0755606f1d2113b3b6097188f85 /chrome/common
parentf8a2599cd63347322133ffa5c89195d66dc3d4b3 (diff)
downloadchromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.zip
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.gz
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.bz2
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
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gfx/chrome_canvas.h4
-rw-r--r--chrome/common/gfx/chrome_canvas_skia.cc4
-rw-r--r--chrome/common/gfx/chrome_canvas_win.cc4
3 files changed, 6 insertions, 6 deletions
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<ChromeCanvas> ChromeCanvasPaint;
+typedef skia::CanvasPaintT<ChromeCanvas> 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() {