Index: src/core/SkBBoxRecord.cpp |
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp |
index b1c229e68b57483caac93224f3331a9a038527f9..a40ea8ba0d27e531e997dfaa922488e0c19433a3 100644 |
--- a/src/core/SkBBoxRecord.cpp |
+++ b/src/core/SkBBoxRecord.cpp |
@@ -280,10 +280,10 @@ void SkBBoxRecord::drawVertices(VertexMode mode, int vertexCount, |
} |
} |
-void SkBBoxRecord::drawPicture(SkPicture& picture) { |
- if (picture.width() > 0 && picture.height() > 0 && |
- this->transformBounds(SkRect::MakeWH(picture.width(), picture.height()), NULL)) { |
- INHERITED::drawPicture(picture); |
+void SkBBoxRecord::onDrawPicture(const SkPicture* picture) { |
+ if (picture->width() > 0 && picture->height() > 0 && |
+ this->transformBounds(SkRect::MakeWH(picture->width(), picture->height()), NULL)) { |
+ this->INHERITED::onDrawPicture(picture); |
} |
} |