Index: skia/ext/vector_platform_device_linux.cc |
diff --git a/skia/ext/vector_platform_device_linux.cc b/skia/ext/vector_platform_device_linux.cc |
index 3d4559615ac4a2eed474d53c60a17978e535acdd..94292cdb23f252602bed12af4f7c560b530db9bf 100644 |
--- a/skia/ext/vector_platform_device_linux.cc |
+++ b/skia/ext/vector_platform_device_linux.cc |
@@ -122,6 +122,18 @@ VectorPlatformDevice::~VectorPlatformDevice() { |
cairo_destroy(context_); |
} |
+SkDeviceFactory* VectorPlatformDevice::getDeviceFactory() { |
+ return SkNEW(VectorPlatformDeviceFactory); |
+} |
+ |
+bool VectorPlatformDevice::IsVectorial() { |
+ return true; |
+} |
+ |
+PlatformDevice::PlatformSurface VectorPlatformDevice::beginPlatformPaint() { |
+ return context_; |
+} |
+ |
void VectorPlatformDevice::drawBitmap(const SkDraw& draw, |
const SkBitmap& bitmap, |
const SkMatrix& matrix, |