summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/SkGraphicsContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/graphics/SkGraphicsContext.cpp')
-rw-r--r--webkit/port/platform/graphics/SkGraphicsContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/SkGraphicsContext.cpp b/webkit/port/platform/graphics/SkGraphicsContext.cpp
index 0843840..51d7e51 100644
--- a/webkit/port/platform/graphics/SkGraphicsContext.cpp
+++ b/webkit/port/platform/graphics/SkGraphicsContext.cpp
@@ -146,7 +146,7 @@ void DrawResampledBitmap(SkCanvas& canvas,
} // namespace
-SkGraphicsContext::SkGraphicsContext(gfx::PlatformCanvasWin* canvas)
+SkGraphicsContext::SkGraphicsContext(gfx::PlatformCanvas* canvas)
: canvas_(canvas),
paint_context_(NULL),
own_canvas_(false) {
@@ -425,7 +425,7 @@ const SkBitmap* SkGraphicsContext::bitmap() const
return &canvas_->getDevice()->accessBitmap(false);
}
-gfx::PlatformCanvasWin* SkGraphicsContext::canvas() const
+gfx::PlatformCanvas* SkGraphicsContext::canvas() const
{
return canvas_;
}