| Index: skia/ext/platform_canvas.cc
|
| ===================================================================
|
| --- skia/ext/platform_canvas.cc (revision 80358)
|
| +++ skia/ext/platform_canvas.cc (working copy)
|
| @@ -41,4 +41,16 @@
|
| return true;
|
| }
|
|
|
| +PlatformDevice::PlatformSurface BeginPlatformPaint(SkCanvas* canvas) {
|
| + // All of our devices should be our special PlatformDevice.
|
| + PlatformDevice* device = static_cast<PlatformDevice*>(canvas->getDevice());
|
| + return device->beginPlatformPaint();
|
| +}
|
| +
|
| +void EndPlatformPaint(SkCanvas* canvas) {
|
| + // All of our devices should be our special PlatformDevice.
|
| + PlatformDevice* device = static_cast<PlatformDevice*>(canvas->getDevice());
|
| + device->endPlatformPaint();
|
| +}
|
| +
|
| } // namespace skia
|
|
|