diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-17 16:07:04 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-17 16:07:04 +0000 |
commit | 2da95b2ac5554c89690062340498aa86f661c3ea (patch) | |
tree | 41404e3f70ab09b3621706dff588bbf7fad728c0 /debugger/SkDrawCommand.cpp | |
parent | 2b16570bda716725e08ad2e92a852f043179c13c (diff) |
Fix debugger handling of clip rrects
https://codereview.appspot.com/7135053/
git-svn-id: http://skia.googlecode.com/svn/trunk@7252 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger/SkDrawCommand.cpp')
-rw-r--r-- | debugger/SkDrawCommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debugger/SkDrawCommand.cpp b/debugger/SkDrawCommand.cpp index 5f33eb1f39..c017f44411 100644 --- a/debugger/SkDrawCommand.cpp +++ b/debugger/SkDrawCommand.cpp @@ -127,7 +127,7 @@ void ClipRect::execute(SkCanvas* canvas) { } ClipRRect::ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { - this->fRRect = &rrect; + this->fRRect = rrect; this->fOp = op; this->fDoAA = doAA; this->fDrawType = CLIP_RRECT; @@ -138,7 +138,7 @@ ClipRRect::ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { } void ClipRRect::execute(SkCanvas* canvas) { - canvas->clipRRect(*this->fRRect, this->fOp, this->fDoAA); + canvas->clipRRect(this->fRRect, this->fOp, this->fDoAA); } Concat::Concat(const SkMatrix& matrix) { |