| Index: src/core/SkRecorder.cpp
|
| diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp
|
| index aafb540a052f9f428c4c70cf71c39e75d4e01397..de16d6244f01e2f478a21ea15977a3824ccffe66 100644
|
| --- a/src/core/SkRecorder.cpp
|
| +++ b/src/core/SkRecorder.cpp
|
| @@ -9,11 +9,11 @@
|
| #include "SkPatchUtils.h"
|
| #include "SkPicture.h"
|
|
|
| -SkDrawableList::~SkDrawableList() {
|
| +SkCanvasDrawableList::~SkCanvasDrawableList() {
|
| fArray.unrefAll();
|
| }
|
|
|
| -SkPicture::SnapshotArray* SkDrawableList::newDrawableSnapshot() {
|
| +SkPicture::SnapshotArray* SkCanvasDrawableList::newDrawableSnapshot() {
|
| const int count = fArray.count();
|
| if (0 == count) {
|
| return NULL;
|
| @@ -25,7 +25,7 @@
|
| return SkNEW_ARGS(SkPicture::SnapshotArray, (pics.detach(), count));
|
| }
|
|
|
| -void SkDrawableList::append(SkDrawable* drawable) {
|
| +void SkCanvasDrawableList::append(SkCanvasDrawable* drawable) {
|
| *fArray.append() = SkRef(drawable);
|
| }
|
|
|
| @@ -143,9 +143,9 @@
|
| APPEND(DrawDRRect, delay_copy(paint), outer, inner);
|
| }
|
|
|
| -void SkRecorder::onDrawDrawable(SkDrawable* drawable) {
|
| +void SkRecorder::onDrawDrawable(SkCanvasDrawable* drawable) {
|
| if (!fDrawableList) {
|
| - fDrawableList.reset(SkNEW(SkDrawableList));
|
| + fDrawableList.reset(SkNEW(SkCanvasDrawableList));
|
| }
|
| fDrawableList->append(drawable);
|
| APPEND(DrawDrawable, drawable->getBounds(), fDrawableList->count() - 1);
|
|
|