Index: tools/debugger/SkDebugCanvas.cpp |
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp |
index ceea78219314015752baaf578168ac1a319fed41..98728d7b2a3a5504480e1575f13ac9cf48b4597b 100644 |
--- a/tools/debugger/SkDebugCanvas.cpp |
+++ b/tools/debugger/SkDebugCanvas.cpp |
@@ -685,6 +685,11 @@ void SkDebugCanvas::didSetMatrix(const SkMatrix& matrix) { |
this->INHERITED::didSetMatrix(matrix); |
} |
+void SkDebugCanvas::didTranslateZ(SkScalar z) { |
+ this->addDrawCommand(new SkTranslateZCommand(z)); |
+ this->INHERITED::didTranslateZ(z); |
+} |
+ |
void SkDebugCanvas::toggleCommand(int index, bool toggle) { |
SkASSERT(index < fCommandVector.count()); |
fCommandVector[index]->setVisible(toggle); |