summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/GraphicsContextSkia.cpp
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 /webkit/port/platform/graphics/GraphicsContextSkia.cpp
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 'webkit/port/platform/graphics/GraphicsContextSkia.cpp')
-rw-r--r--webkit/port/platform/graphics/GraphicsContextSkia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/GraphicsContextSkia.cpp b/webkit/port/platform/graphics/GraphicsContextSkia.cpp
index c10cf60..e169a1d 100644
--- a/webkit/port/platform/graphics/GraphicsContextSkia.cpp
+++ b/webkit/port/platform/graphics/GraphicsContextSkia.cpp
@@ -34,7 +34,7 @@
# include "SkGradientShader.h"
#endif
-#include "base/gfx/platform_canvas.h"
+#include "base/gfx/platform_canvas_win.h"
using namespace std;
@@ -704,7 +704,7 @@ void GraphicsContext::freePlatformPattern(PlatformPattern* shader)
GraphicsContext* GraphicsContext::createOffscreenContext(int width, int height)
{
- gfx::PlatformCanvas* canvas = new gfx::PlatformCanvas(width, height, false);
+ gfx::PlatformCanvasWin* canvas = new gfx::PlatformCanvasWin(width, height, false);
PlatformContextSkia* pgc = new PlatformContextSkia(canvas);
canvas->drawARGB(0, 0, 0, 0, SkPorterDuff::kClear_Mode);