aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/SkDrawCommand.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 22:53:11 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 22:53:11 +0000
commitfebc0ec41b4cff6ea69f2b89d72c0d330d198283 (patch)
tree1abf2edbdde7b572077ee45e405ee3526599ea36 /debugger/SkDrawCommand.cpp
parent512977aead6e6b7483a4cb4866b3df435ca78214 (diff)
Add misc. optimizations to filter tool
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 8ffcb4b5b7..c85d8c98a1 100644
--- a/debugger/SkDrawCommand.cpp
+++ b/debugger/SkDrawCommand.cpp
@@ -394,7 +394,7 @@ void DrawRectC::execute(SkCanvas* canvas) {
DrawRRect::DrawRRect(const SkRRect& rrect, const SkPaint& paint) {
this->fRRect = rrect;
- this->fPaint = &paint;
+ this->fPaint = paint;
this->fDrawType = DRAW_RRECT;
this->fInfo.push(SkObjectParser::RRectToString(rrect));
@@ -402,7 +402,7 @@ DrawRRect::DrawRRect(const SkRRect& rrect, const SkPaint& paint) {
}
void DrawRRect::execute(SkCanvas* canvas) {
- canvas->drawRRect(this->fRRect, *this->fPaint);
+ canvas->drawRRect(fRRect, fPaint);
}
DrawSprite::DrawSprite(const SkBitmap& bitmap, int left, int top,