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

Unified Diff: views/background.cc

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « views/background.h ('k') | views/border.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/background.cc
===================================================================
--- views/background.cc (revision 16147)
+++ views/background.cc (working copy)
@@ -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 @@
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 @@
}
- 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_);
}
« no previous file with comments | « views/background.h ('k') | views/border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698