aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua/lua_pictures.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-16 07:01:00 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-05-16 07:01:00 +0000
commit539f364e80a1e8ee35845b93fd6547e855380cad (patch)
tree2a6fb3ea7b632baf4727d20fd012aa8b12b6de2a /tools/lua/lua_pictures.cpp
parent1c5a94f5e01d0851bfeceb7d17ad7d693bdc899e (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9159 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/lua/lua_pictures.cpp')
-rw-r--r--tools/lua/lua_pictures.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
index 2d5fe46675..ff8f5cffa5 100644
--- a/tools/lua/lua_pictures.cpp
+++ b/tools/lua/lua_pictures.cpp
@@ -70,11 +70,11 @@ public:
}
lua_close(fL);
}
-
+
lua_State* get() const { return fL; }
lua_State* operator*() const { return fL; }
lua_State* operator->() const { return fL; }
-
+
bool load(const char code[]) {
int err = luaL_loadstring(fL, code) || lua_pcall(fL, 0, 0, 0);
if (err) {
@@ -130,7 +130,7 @@ int tool_main(int argc, char** argv) {
SkString inputPath;
SkString inputAsSkString(FLAGS_skpPath[i]);
sk_tools::make_filepath(&inputPath, inputAsSkString, inputFilename);
-
+
const char* path = inputPath.c_str();
SkAutoTUnref<SkPicture> pic(load_picture(path));