diff options
author | awalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 17:47:00 +0000 |
---|---|---|
committer | awalker@google.com <awalker@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-14 17:47:00 +0000 |
commit | b49cbcf2cb1808755be7d629df962850756fe691 (patch) | |
tree | 66a1cbbeda98ff0a2be564fb164bbd274245aea8 /chrome/renderer/render_widget.cc | |
parent | 6328338ef2dcd7fe075cb4065c644847d5330a71 (diff) | |
download | chromium_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.cc | 4 |
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()), |