| Index: src/core/SkBitmapDevice.cpp
|
| diff --git a/src/core/SkBitmapDevice.cpp b/src/core/SkBitmapDevice.cpp
|
| index eac21e2d48b427f4b7d0d2743ecd450a18fa27e5..b5ce122eb8d1444a71cc7de6b8a1ea2d79b012ec 100644
|
| --- a/src/core/SkBitmapDevice.cpp
|
| +++ b/src/core/SkBitmapDevice.cpp
|
| @@ -232,11 +232,7 @@ void SkBitmapDevice::drawOval(const SkDraw& draw, const SkRect& oval, const SkPa
|
| void SkBitmapDevice::drawRRect(const SkDraw& draw, const SkRRect& rrect, const SkPaint& paint) {
|
| CHECK_FOR_ANNOTATION(paint);
|
|
|
| - SkPath path;
|
| - path.addRRect(rrect);
|
| - // call the VIRTUAL version, so any subclasses who do handle drawPath aren't
|
| - // required to override drawRRect.
|
| - this->drawPath(draw, path, paint, NULL, true);
|
| + draw.drawRRect(rrect, paint);
|
| }
|
|
|
| void SkBitmapDevice::drawPath(const SkDraw& draw, const SkPath& path,
|
|
|