summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
authorawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 17:47:00 +0000
committerawalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 17:47:00 +0000
commitb49cbcf2cb1808755be7d629df962850756fe691 (patch)
tree66a1cbbeda98ff0a2be564fb164bbd274245aea8 /chrome/renderer/render_widget.cc
parent6328338ef2dcd7fe075cb4065c644847d5330a71 (diff)
downloadchromium_src-b49cbcf2cb1808755be7d629df962850756fe691.zip
chromium_src-b49cbcf2cb1808755be7d629df962850756fe691.tar.gz
chromium_src-b49cbcf2cb1808755be7d629df962850756fe691.tar.bz2
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 90ec7c6..749fd8c 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -35,7 +35,7 @@
#include "base/gfx/size.h"
#include "base/logging.h"
#include "base/message_loop.h"
-#include "base/gfx/platform_canvas.h"
+#include "base/gfx/platform_canvas_win.h"
#include "base/scoped_ptr.h"
#include "webkit/glue/webinputevent.h"
#include "webkit/glue/webwidget.h"
@@ -368,7 +368,7 @@ void RenderWidget::ClearFocus() {
}
void RenderWidget::PaintRect(const gfx::Rect& rect, SharedMemory* paint_buf) {
- gfx::PlatformCanvas canvas(rect.width(), rect.height(), true,
+ gfx::PlatformCanvasWin canvas(rect.width(), rect.height(), true,
paint_buf->handle());
// Bring the canvas into the coordinate system of the paint rect
canvas.translate(static_cast<SkScalar>(-rect.x()),