aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkLua.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-03-20 16:13:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-20 20:50:21 +0000
commit02f577b0f48678477482bb8125cb8ac2f53468a5 (patch)
tree03be3022b4d89335ae9353f9f7b179b40a85019b /src/utils/SkLua.cpp
parentc5cc2dee2595300da421e9d08157ed81a2022db9 (diff)
reenable lua and fix bitrot
BUG=skia:6366 Change-Id: Ia2d0a119666d8cdc790e97e06004a5900cddd0c0 Reviewed-on: https://skia-review.googlesource.com/9885 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/utils/SkLua.cpp')
-rw-r--r--src/utils/SkLua.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index 7ba98e5669..fa474b3b13 100644
--- a/src/utils/SkLua.cpp
+++ b/src/utils/SkLua.cpp
@@ -717,16 +717,6 @@ static int lpaint_setDither(lua_State* L) {
return 0;
}
-static int lpaint_isUnderlineText(lua_State* L) {
- lua_pushboolean(L, get_obj<SkPaint>(L, 1)->isUnderlineText());
- return 1;
-}
-
-static int lpaint_isStrikeThruText(lua_State* L) {
- lua_pushboolean(L, get_obj<SkPaint>(L, 1)->isStrikeThruText());
- return 1;
-}
-
static int lpaint_isFakeBoldText(lua_State* L) {
lua_pushboolean(L, get_obj<SkPaint>(L, 1)->isFakeBoldText());
return 1;
@@ -1066,8 +1056,6 @@ static const struct luaL_Reg gSkPaint_Methods[] = {
{ "setDither", lpaint_setDither },
{ "getFilterQuality", lpaint_getFilterQuality },
{ "setFilterQuality", lpaint_setFilterQuality },
- { "isUnderlineText", lpaint_isUnderlineText },
- { "isStrikeThruText", lpaint_isStrikeThruText },
{ "isFakeBoldText", lpaint_isFakeBoldText },
{ "isLinearText", lpaint_isLinearText },
{ "isSubpixelText", lpaint_isSubpixelText },