Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index 787cf89299f0b0185dcc39b5d103ff5a311e1d20..95256e7d1331624843939f56dada79e7f3aa729d 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -426,6 +426,10 @@ void SkDebugCanvas::overrideTexFiltering(bool overrideTexFiltering, SkPaint::Fil |
fTexOverrideFilter->setFilterLevel(level); |
} |
+void SkDebugCanvas::clear(SkColor color) { |
+ this->addDrawCommand(new SkClearCommand(color)); |
+} |
+ |
void SkDebugCanvas::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle) { |
this->addDrawCommand(new SkClipPathCommand(path, op, kSoft_ClipEdgeStyle == edgeStyle)); |
} |