aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-08-18 08:02:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-18 08:02:33 -0700
commit95498ed2d8ad933d47f41fd97c0ee2feefbc1399 (patch)
treef01d5ba1d6cea69dc091a56104ccca7706f3218b
parentec730b9cafaa3b2a4df7e7ceb3ab50601796fbe5 (diff)
Fix typo
R=robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/478533002
-rw-r--r--src/utils/SkLua.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index 5047877324..9e9477596a 100644
--- a/src/utils/SkLua.cpp
+++ b/src/utils/SkLua.cpp
@@ -1157,7 +1157,7 @@ static SkString segment_masks_to_str(uint32_t segmentMasks) {
return result;
}
-static int lpath_getSegementTypes(lua_State* L) {
+static int lpath_getSegmentTypes(lua_State* L) {
uint32_t segMasks = get_obj<SkPath>(L, 1)->getSegmentMasks();
SkLua(L).pushString(segment_masks_to_str(segMasks));
return 1;
@@ -1257,7 +1257,7 @@ static int lpath_gc(lua_State* L) {
static const struct luaL_Reg gSkPath_Methods[] = {
{ "getBounds", lpath_getBounds },
{ "getFillType", lpath_getFillType },
- { "getSegmentTypes", lpath_getSegementTypes },
+ { "getSegmentTypes", lpath_getSegmentTypes },
{ "isConvex", lpath_isConvex },
{ "isEmpty", lpath_isEmpty },
{ "isRect", lpath_isRect },