Chromium Code Reviews| Index: src/gpu/SkGpuDevice.cpp |
| diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
| index d26d4f8ed28831265feaea6f9978570c68a723d5..099c4e680e6c92b5362223787911470607191073 100644 |
| --- a/src/gpu/SkGpuDevice.cpp |
| +++ b/src/gpu/SkGpuDevice.cpp |
| @@ -1864,7 +1864,7 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkCanvas* mainCanvas, const SkPicture |
| SkAutoTArray<bool> pullForward(gpuData->numSaveLayers()); |
| - SkRect clipBounds; |
| + SkRect clipBounds = { 0, 0, 0, 0 }; |
|
mtklein
2014/09/03 15:46:12
Seems fine, but if we're returning when getClipBou
robertphillips
2014/09/03 17:36:24
Done.
|
| if (!mainCanvas->getClipBounds(&clipBounds)) { |
| return true; |
| } |