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

Unified Diff: views/widget/widget_win.cc

Issue 2825018: Canvas refactoring part 3.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
Index: views/widget/widget_win.cc
===================================================================
--- views/widget/widget_win.cc (revision 50664)
+++ views/widget/widget_win.cc (working copy)
@@ -9,7 +9,6 @@
#include "app/win_util.h"
#include "base/string_util.h"
#include "base/win_util.h"
-#include "gfx/canvas.h"
#include "gfx/canvas_skia.h"
#include "gfx/native_theme_win.h"
#include "gfx/path.h"
@@ -1122,9 +1121,9 @@
}
void WidgetWin::SizeContents(const gfx::Size& window_size) {
- contents_.reset(new gfx::Canvas(window_size.width(),
- window_size.height(),
- false));
+ contents_.reset(new gfx::CanvasSkia(window_size.width(),
+ window_size.height(),
+ false));
}
void WidgetWin::PaintLayeredWindow() {

Powered by Google App Engine
This is Rietveld 408576698