Index: src/core/SkBBoxRecord.cpp |
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp |
index 2349b1c3e10e255690434358d94608b21835dfda..cdb70bb7301c5f429b71a1bfb7a0a471e9eed613 100644 |
--- a/src/core/SkBBoxRecord.cpp |
+++ b/src/core/SkBBoxRecord.cpp |
@@ -53,7 +53,7 @@ void SkBBoxRecord::drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
// Note: The device coordinate outset in SkBBoxHierarchyRecord::handleBBox is currently |
// done in the recording coordinate space, which is wrong. |
// http://code.google.com/p/skia/issues/detail?id=1021 |
- static const SkScalar kMinWidth = SkFloatToScalar(0.01f); |
+ static const SkScalar kMinWidth = 0.01f; |
SkScalar halfStrokeWidth = SkMaxScalar(paint.getStrokeWidth(), kMinWidth) / 2; |
bbox.outset(halfStrokeWidth, halfStrokeWidth); |
if (this->transformBounds(bbox, &paint)) { |