Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 3067772c8ad87db06b7ac588f14c61afd141239a..f893a62e7531a746aa19d12bf0a19772637b3066 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -3012,15 +3012,6 @@ void SkCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* matrix, |
} |
} |
- SkBaseDevice* device = this->getTopDevice(); |
- if (device) { |
- // Canvas has to first give the device the opportunity to render |
- // the picture itself. |
- if (device->EXPERIMENTAL_drawPicture(this, picture, matrix, paint)) { |
- return; // the device has rendered the entire picture |
- } |
- } |
- |
SkAutoCanvasMatrixPaint acmp(this, matrix, paint, picture->cullRect()); |
picture->playback(this); |
} |