Index: include/private/SkRecords.h |
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h |
index a095452d1cb23883f985a3e51d4a38f5754e8ea2..90a82ee04d431696f92a2045b736c9b0371b17e3 100644 |
--- a/include/private/SkRecords.h |
+++ b/include/private/SkRecords.h |
@@ -47,6 +47,7 @@ namespace SkRecords { |
M(Save) \ |
M(SaveLayer) \ |
M(SetMatrix) \ |
+ M(Translate) \ |
M(TranslateZ) \ |
M(Concat) \ |
M(ClipPath) \ |
@@ -182,6 +183,9 @@ RECORD(SetMatrix, 0, |
RECORD(Concat, 0, |
TypedMatrix matrix); |
+RECORD(Translate, 0, |
+ SkScalar dx; |
+ SkScalar dy); |
RECORD(TranslateZ, 0, SkScalar z); |
struct RegionOpAndAA { |