Index: src/core/SkScan_Hairline.cpp |
diff --git a/src/core/SkScan_Hairline.cpp b/src/core/SkScan_Hairline.cpp |
index fc9e82818d84bf9aa7135964de9fb4e21c498def..083dc0df5f8d93a21be95b5ec58c6cb52c63af9f 100644 |
--- a/src/core/SkScan_Hairline.cpp |
+++ b/src/core/SkScan_Hairline.cpp |
@@ -641,7 +641,7 @@ void SkScan::FrameRect(const SkRect& r, const SkPoint& strokeSize, |
outer.set(r.fLeft - rx, r.fTop - ry, |
r.fRight + rx, r.fBottom + ry); |
- if (r.width() <= dx || r.height() <= dx) { |
+ if (r.width() <= dx || r.height() <= dy) { |
SkScan::FillRect(outer, clip, blitter); |
return; |
} |