summaryrefslogtreecommitdiffstats
path: root/views/background.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:37:29 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 07:37:29 +0000
commit82522511b7921e8c61742ebd80a4c674c56e7e48 (patch)
tree381d71de2b9c7b99675e6f2b4523ae0876c72ce8 /views/background.cc
parent631cf822bd6e64cf469544b42c9975f5602c29a6 (diff)
downloadchromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.zip
chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.gz
chromium_src-82522511b7921e8c61742ebd80a4c674c56e7e48.tar.bz2
ChromeCanvas->gfx::Canvas
Rename files too. TBR=brettw http://crbug.com/11387 Review URL: http://codereview.chromium.org/113443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/background.cc')
-rw-r--r--views/background.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/background.cc b/views/background.cc
index 37b1251..5206349 100644
--- a/views/background.cc
+++ b/views/background.cc
@@ -4,7 +4,7 @@
#include "views/background.h"
-#include "app/gfx/chrome_canvas.h"
+#include "app/gfx/canvas.h"
#include "base/logging.h"
#include "skia/ext/skia_utils_win.h"
#include "third_party/skia/include/core/SkPaint.h"
@@ -22,7 +22,7 @@ class SolidBackground : public Background {
SetNativeControlColor(color_);
}
- void Paint(ChromeCanvas* canvas, View* view) const {
+ void Paint(gfx::Canvas* canvas, View* view) const {
// Fill the background. Note that we don't constrain to the bounds as
// canvas is already clipped for us.
canvas->drawColor(color_);
@@ -47,7 +47,7 @@ class BackgroundPainter : public Background {
}
- void Paint(ChromeCanvas* canvas, View* view) const {
+ void Paint(gfx::Canvas* canvas, View* view) const {
Painter::PaintPainterAt(0, 0, view->width(), view->height(), canvas,
painter_);
}