| Index: tools/pinspect.cpp
|
| diff --git a/tools/pinspect.cpp b/tools/pinspect.cpp
|
| index b8deba707a0f6e51a5f870a9a7fe52119a4da22f..5c04608c4e05e7ce49f46ed8b93b5a5dbbe87791 100644
|
| --- a/tools/pinspect.cpp
|
| +++ b/tools/pinspect.cpp
|
| @@ -5,6 +5,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| +#include "LazyDecodeBitmap.h"
|
| #include "SkBitmap.h"
|
| #include "SkCanvas.h"
|
| #include "SkGraphics.h"
|
| @@ -34,7 +35,7 @@
|
| }
|
|
|
| stream.rewind();
|
| - SkPicture* pic = SkPicture::CreateFromStream(&stream);
|
| + SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap);
|
| if (nullptr == pic) {
|
| SkDebugf("Could not create SkPicture: %s\n", path);
|
| return nullptr;
|
|
|