| Index: tools/lua/lua_pictures.cpp
|
| diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
|
| index 57b0dcce8ee5f75b575d9615da689e34d3d063e6..6fa5813d77818685f531ea5afe0da7d298e9987a 100644
|
| --- a/tools/lua/lua_pictures.cpp
|
| +++ b/tools/lua/lua_pictures.cpp
|
| @@ -5,6 +5,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| +#include "LazyDecodeBitmap.h"
|
| #include "SkLua.h"
|
| #include "SkLuaCanvas.h"
|
| #include "SkPicture.h"
|
| @@ -43,7 +44,7 @@
|
| SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path));
|
| SkPicture* pic = nullptr;
|
| if (stream.get()) {
|
| - pic = SkPicture::CreateFromStream(stream.get());
|
| + pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap);
|
| }
|
| return pic;
|
| }
|
|
|