Index: skia/ext/platform_canvas_linux.cc |
diff --git a/skia/ext/platform_canvas_linux.cc b/skia/ext/platform_canvas_linux.cc |
index 422693ca958496d134051231576733590137b030..a4e080ffa4a978b74ac1eeda0906bccba3c3eb4e 100644 |
--- a/skia/ext/platform_canvas_linux.cc |
+++ b/skia/ext/platform_canvas_linux.cc |
@@ -53,6 +53,10 @@ bool PlatformCanvasLinux::initialize(int width, int height, bool is_opaque, |
return true; |
} |
+cairo_surface_t* PlatformCanvasLinux::beginPlatformPaint() { |
+ return getTopPlatformDevice().beginPlatformPaint(); |
+} |
+ |
PlatformDeviceLinux& PlatformCanvasLinux::getTopPlatformDevice() const { |
// All of our devices should be our special PlatformDevice. |
SkCanvas::LayerIter iter(const_cast<PlatformCanvasLinux*>(this), false); |