Index: src/utils/SkLuaCanvas.cpp |
diff --git a/src/utils/SkLuaCanvas.cpp b/src/utils/SkLuaCanvas.cpp |
index 3883924c0dc0572c64f585ba70413486c4f57d19..6b769f0ba7619aea75dee9a9b87e03e1ce4592f9 100644 |
--- a/src/utils/SkLuaCanvas.cpp |
+++ b/src/utils/SkLuaCanvas.cpp |
@@ -135,28 +135,28 @@ void SkLuaCanvas::didSetMatrix(const SkMatrix& matrix) { |
this->INHERITED::didSetMatrix(matrix); |
} |
-void SkLuaCanvas::onClipRect(const SkRect& r, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
+void SkLuaCanvas::onClipRect(const SkRect& r, ClipOp op, ClipEdgeStyle edgeStyle) { |
AUTO_LUA("clipRect"); |
lua.pushRect(r, "rect"); |
lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); |
this->INHERITED::onClipRect(r, op, edgeStyle); |
} |
-void SkLuaCanvas::onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
+void SkLuaCanvas::onClipRRect(const SkRRect& rrect, ClipOp op, ClipEdgeStyle edgeStyle) { |
AUTO_LUA("clipRRect"); |
lua.pushRRect(rrect, "rrect"); |
lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); |
this->INHERITED::onClipRRect(rrect, op, edgeStyle); |
} |
-void SkLuaCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
+void SkLuaCanvas::onClipPath(const SkPath& path, ClipOp op, ClipEdgeStyle edgeStyle) { |
AUTO_LUA("clipPath"); |
lua.pushPath(path, "path"); |
lua.pushBool(kSoft_ClipEdgeStyle == edgeStyle, "aa"); |
this->INHERITED::onClipPath(path, op, edgeStyle); |
} |
-void SkLuaCanvas::onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) { |
+void SkLuaCanvas::onClipRegion(const SkRegion& deviceRgn, ClipOp op) { |
AUTO_LUA("clipRegion"); |
this->INHERITED::onClipRegion(deviceRgn, op); |
} |