| Index: src/gpu/SkGpuDevice.cpp
|
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
|
| index cf152fa6e51b023027c697250b06fd1fb05725dd..f90f88fd8be8a09147a43a15868f03072ef6a249 100644
|
| --- a/src/gpu/SkGpuDevice.cpp
|
| +++ b/src/gpu/SkGpuDevice.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "SkPicture.h"
|
| #include "SkPictureData.h"
|
| #include "SkPicturePlayback.h"
|
| +#include "SkPictureRangePlayback.h"
|
| #include "SkRRect.h"
|
| #include "SkStroke.h"
|
| #include "SkSurface.h"
|
| @@ -2010,9 +2011,9 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* pi
|
| SkIntToScalar(layer->rect().fTop));
|
| }
|
|
|
| - SkPicturePlayback playback(picture);
|
| - playback.setDrawLimits(info.fSaveLayerOpID, info.fRestoreOpID);
|
| - playback.draw(canvas, NULL);
|
| + SkPictureRangePlayback rangePlayback(picture);
|
| + rangePlayback.setDrawLimits(info.fSaveLayerOpID, info.fRestoreOpID);
|
| + rangePlayback.draw(canvas, NULL);
|
|
|
| canvas->flush();
|
| }
|
|
|