aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua/lua_pictures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lua/lua_pictures.cpp')
-rw-r--r--tools/lua/lua_pictures.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
index 6fa5813d77..57b0dcce8e 100644
--- a/tools/lua/lua_pictures.cpp
+++ b/tools/lua/lua_pictures.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "LazyDecodeBitmap.h"
#include "SkLua.h"
#include "SkLuaCanvas.h"
#include "SkPicture.h"
@@ -44,7 +43,7 @@ static SkPicture* load_picture(const char path[]) {
SkAutoTDelete<SkStream> stream(SkStream::NewFromFile(path));
SkPicture* pic = nullptr;
if (stream.get()) {
- pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap);
+ pic = SkPicture::CreateFromStream(stream.get());
}
return pic;
}