diff options
author | reed <reed@google.com> | 2014-12-02 10:08:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-02 10:08:11 -0800 |
commit | 3729469d6a12266037b697c2192768545e097ab0 (patch) | |
tree | 3260a913c22c9cbf3a24e78ebfd45f1e73815e02 /src/utils/debugger/SkDebugCanvas.cpp | |
parent | cc969c4dd936c97670788395c9cbee3f346e87d1 (diff) |
Change clear() to respect the clip
patch from issue 769703002 at patchset 1 (http://crrev.com/769703002#ps1)
BUG=skia:
Review URL: https://codereview.chromium.org/772533004
Diffstat (limited to 'src/utils/debugger/SkDebugCanvas.cpp')
-rw-r--r-- | src/utils/debugger/SkDebugCanvas.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp index 95256e7d13..787cf89299 100644 --- a/src/utils/debugger/SkDebugCanvas.cpp +++ b/src/utils/debugger/SkDebugCanvas.cpp @@ -426,10 +426,6 @@ 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)); } |