Chromium Code Reviews| Index: src/gpu/SkGpuDevice.cpp |
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
| index 1b6558ce433a12288fe91773a5b25c0d97049075..6a7748f88b09e95b66e812fa0be00c836b1948ad 100644 |
| --- a/src/gpu/SkGpuDevice.cpp |
| +++ b/src/gpu/SkGpuDevice.cpp |
| @@ -1871,10 +1871,7 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
| return true; |
| } |
| - SkAutoTDelete<const SkPicture::OperationList> ops( |
| - picture->EXPERIMENTAL_getActiveOps(clipBounds)); |
| - |
| - if (!GrLayerHoister::FindLayersToHoist(gpuData, ops.get(), clipBounds, pullForward.get())) { |
| + if (!GrLayerHoister::FindLayersToHoist(gpuData, clipBounds, pullForward.get())) { |
| return false; |
| } |
| @@ -1939,7 +1936,7 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
| GrLayerHoister::DrawLayers(picture, atlased, nonAtlased); |
| // Render the entire picture using new layers |
|
robertphillips
2014/09/03 20:22:05
This call is going away in the next CL.
|
| - SkPictureReplacementPlayback playback(picture, &replacements, ops.get()); |
| + SkPictureReplacementPlayback playback(picture, &replacements, NULL); |
| playback.draw(mainCanvas, NULL); |