Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index be6cb6624a751ff3ae60f6111b68b74a927395dc..d3ecd74bb0638038a8b57bbee63501d99c4864ee 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -27,7 +27,7 @@ public: |
} |
~AutoCallLua() { |
- lua_State* L = this->getL(); |
+ lua_State* L = this->get(); |
if (lua_pcall(L, 1, 0, 0) != LUA_OK) { |
SkDebugf("lua err: %s\n", lua_tostring(L, -1)); |
} |