Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index 0136231ce1de5ffc178865c3eae0680af3b1f408..7f127403ae0260d4f00557b1d6f5a4b088baa2fd 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -73,14 +73,8 @@ void SkLuaCanvas::pushThis() { |
/////////////////////////////////////////////////////////////////////////////// |
-static SkBitmap make_bm(int width, int height) { |
- SkBitmap bm; |
- bm.setConfig(SkBitmap::kNo_Config, width, height); |
- return bm; |
-} |
- |
SkLuaCanvas::SkLuaCanvas(int width, int height, lua_State* L, const char func[]) |
- : INHERITED(make_bm(width, height)) |
+ : INHERITED(width, height) |
, fL(L) |
, fFunc(func) { |
} |