| Index: tools/lua/lua_pictures.cpp
|
| diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
|
| index f1bca287ad490dae592c4ed33ef00bf6bbb8053b..17970bf7096819baf899229e5983ef220baf13b2 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"
|
| @@ -15,9 +16,6 @@
|
| #include "picture_utils.h"
|
| #include "SkOSFile.h"
|
| #include "SkImageDecoder.h"
|
| -#include "SkForceLinking.h"
|
| -
|
| -__SK_FORCE_IMAGE_DECODER_LINKING;
|
|
|
| extern "C" {
|
| #include "lua.h"
|
| @@ -46,7 +44,7 @@ static SkPicture* load_picture(const char path[]) {
|
| SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path));
|
| SkPicture* pic = NULL;
|
| if (stream.get()) {
|
| - pic = SkPicture::CreateFromStream(stream.get(), &lazy_decode_bitmap);
|
| + pic = SkPicture::CreateFromStream(stream.get(), &LazyDecodeBitmap);
|
| }
|
| return pic;
|
| }
|
|
|