| Index: src/utils/SkLua.cpp
|
| diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
|
| index 767e1772299ef1d2ef32ad37663f549d610dacc8..8d18cdaa0eedc006ac9f450e23778989e0cacce0 100644
|
| --- a/src/utils/SkLua.cpp
|
| +++ b/src/utils/SkLua.cpp
|
| @@ -435,8 +435,8 @@ static const struct luaL_Reg gSkCanvas_Methods[] = {
|
|
|
| static int ldocument_beginPage(lua_State* L) {
|
| const SkRect* contentPtr = NULL;
|
| - push_ref(L, get_ref<SkDocument>(L, 1)->beginPage(lua2scalar(L, 2),
|
| - lua2scalar(L, 3),
|
| + push_ref(L, get_ref<SkDocument>(L, 1)->beginPage(SkSize::Make(lua2scalar(L, 2),
|
| + lua2scalar(L, 3)),
|
| contentPtr));
|
| return 1;
|
| }
|
|
|