summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/vector_platform_device_skia.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/ext/vector_platform_device_skia.cc b/skia/ext/vector_platform_device_skia.cc
index 9d2415e..9421b0b 100644
--- a/skia/ext/vector_platform_device_skia.cc
+++ b/skia/ext/vector_platform_device_skia.cc
@@ -81,6 +81,8 @@ void VectorPlatformDeviceSkia::EndPlatformPaint() {
draw.fClip=&clip;
pdf_device_->drawSprite(draw, raster_surface_->accessBitmap(false), 0, 0,
paint);
+ // BitmapPlatformDevice matches begin and end calls.
+ raster_surface_->EndPlatformPaint();
raster_surface_ = NULL;
}