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

Unified Diff: views/widget/widget_win.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/widget/widget_win.h ('k') | views/window/custom_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.cc
===================================================================
--- views/widget/widget_win.cc (revision 16147)
+++ views/widget/widget_win.cc (working copy)
@@ -4,7 +4,7 @@
#include "views/widget/widget_win.h"
-#include "app/gfx/chrome_canvas.h"
+#include "app/gfx/canvas.h"
#include "app/win_util.h"
#include "base/gfx/native_theme.h"
#include "base/string_util.h"
@@ -898,9 +898,9 @@
}
void WidgetWin::SizeContents(const CRect& window_rect) {
- contents_.reset(new ChromeCanvas(window_rect.Width(),
- window_rect.Height(),
- false));
+ contents_.reset(new gfx::Canvas(window_rect.Width(),
+ window_rect.Height(),
+ false));
}
void WidgetWin::PaintLayeredWindow() {
« no previous file with comments | « views/widget/widget_win.h ('k') | views/window/custom_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698