Propagate SkSurfaceProps to more call sites
Start moving to a world where everyone provides surface properties.
Most notably this exposes a portion of SkSurfaceProps to the C API.
BUG=skia:3934
Review URL: https://codereview.chromium.org/1195003003
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp
index cee4d4d..b0e7b8f 100644
--- a/src/utils/SkLua.cpp
+++ b/src/utils/SkLua.cpp
@@ -1993,7 +1993,8 @@
int width = lua2int_def(L, 1, 0);
int height = lua2int_def(L, 2, 0);
SkImageInfo info = SkImageInfo::MakeN32Premul(width, height);
- SkSurface* surface = SkSurface::NewRaster(info);
+ SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
+ SkSurface* surface = SkSurface::NewRaster(info, &props);
if (NULL == surface) {
lua_pushnil(L);
} else {