| Index: src/gpu/GrPictureUtils.cpp
|
| diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp
|
| index 6fed2f6d9ffa135cdb1dd6c1454c6580c9411065..c677c64bd172ef4507251cf2a40a90c230fc1616 100644
|
| --- a/src/gpu/GrPictureUtils.cpp
|
| +++ b/src/gpu/GrPictureUtils.cpp
|
| @@ -250,11 +250,11 @@ protected:
|
| virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE {
|
| // BBH-based rendering doesn't re-issue many of the operations the gather
|
| // process cares about (e.g., saves and restores) so it must be disabled.
|
| - if (NULL != picture->fPlayback) {
|
| + if (NULL != picture->fPlayback.get()) {
|
| picture->fPlayback->setUseBBH(false);
|
| }
|
| picture->draw(this);
|
| - if (NULL != picture->fPlayback) {
|
| + if (NULL != picture->fPlayback.get()) {
|
| picture->fPlayback->setUseBBH(true);
|
| }
|
| }
|
|
|