Index: skia/ext/platform_canvas.cc |
diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc |
index 6699b8bd19a8579ec6140bbcb55ce3684dddcc57..92359671a1ac9515eae1b2a9324ace972cdb5264 100644 |
--- a/skia/ext/platform_canvas.cc |
+++ b/skia/ext/platform_canvas.cc |
@@ -32,13 +32,6 @@ void EndPlatformPaint(SkCanvas* canvas) { |
platform_device->EndPlatformPaint(); |
} |
-void DrawToNativeContext(SkCanvas* canvas, PlatformSurface context, int x, |
- int y, const PlatformRect* src_rect) { |
- PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas)); |
- if (platform_device) |
- platform_device->DrawToNativeContext(context, x, y, src_rect); |
-} |
- |
void MakeOpaque(SkCanvas* canvas, int x, int y, int width, int height) { |
if (width <= 0 || height <= 0) |
return; |