aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/SkDrawCommand.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-17 16:07:04 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-17 16:07:04 +0000
commit2da95b2ac5554c89690062340498aa86f661c3ea (patch)
tree41404e3f70ab09b3621706dff588bbf7fad728c0 /debugger/SkDrawCommand.cpp
parent2b16570bda716725e08ad2e92a852f043179c13c (diff)
Fix debugger handling of clip rrects
Diffstat (limited to 'debugger/SkDrawCommand.cpp')
-rw-r--r--debugger/SkDrawCommand.cpp4
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) {