Index: src/utils/debugger/SkDebugCanvas.cpp |
diff --git a/src/utils/debugger/SkDebugCanvas.cpp b/src/utils/debugger/SkDebugCanvas.cpp |
index b07b383781a3d584b155fcd4fcc8f5ee6fdd485c..95256e7d1331624843939f56dada79e7f3aa729d 100644 |
--- a/src/utils/debugger/SkDebugCanvas.cpp |
+++ b/src/utils/debugger/SkDebugCanvas.cpp |
@@ -42,8 +42,7 @@ SkDebugCanvas::SkDebugCanvas(int windowWidth, int windowHeight) |
largeIRect.inset(1024, 1024); |
SkRect large = SkRect::Make(largeIRect); |
#ifdef SK_DEBUG |
- large.roundOut(&largeIRect); |
- SkASSERT(!largeIRect.isEmpty()); |
+ SkASSERT(!large.roundOut().isEmpty()); |
#endif |
// call the base class' version to avoid adding a draw command |
this->INHERITED::onClipRect(large, SkRegion::kReplace_Op, kHard_ClipEdgeStyle); |