Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index 944443c8ee6749291a623cffbf948bafe96fb0ba..af71624474cd84f853b0d818a0a8e53629647669 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -97,6 +97,7 @@ DRAW(DrawBitmapRectToRectBleed, |
DRAW(DrawDRRect, drawDRRect(r.outer, r.inner, r.paint)); |
DRAW(DrawImage, drawImage(r.image, r.left, r.top, r.paint)); |
DRAW(DrawImageRect, drawImageRect(r.image, r.src, r.dst, r.paint)); |
+DRAW(DrawImageNine, drawImageNine(r.image, r.center, r.dst, r.paint)); |
DRAW(DrawOval, drawOval(r.oval, r.paint)); |
DRAW(DrawPaint, drawPaint(r.paint)); |
DRAW(DrawPath, drawPath(r.path, r.paint)); |
@@ -413,6 +414,9 @@ private: |
Bounds bounds(const DrawImageRect& op) const { |
return this->adjustAndMap(op.dst, op.paint); |
} |
+ Bounds bounds(const DrawImageNine& op) const { |
+ return this->adjustAndMap(op.dst, op.paint); |
+ } |
Bounds bounds(const DrawBitmapRectToRect& op) const { |
return this->adjustAndMap(op.dst, op.paint); |
} |