increase gm offsetimagefilter stroke width

With a hairline width, offsetimagefilter fails to draw the
rectangle on some platforms. Make the width 2 so that it
shows up everywhere.

TBR=reed@google.com

Review URL: https://codereview.chromium.org/1236133003
This commit is contained in:
caryclark 2015-07-16 07:06:46 -07:00 committed by Commit bot
parent 8a955af001
commit 5f7f428844

View File

@ -57,6 +57,7 @@ protected:
if (clipRect.intersect(cropRectFloat)) {
SkPaint strokePaint;
strokePaint.setStyle(SkPaint::kStroke_Style);
strokePaint.setStrokeWidth(2);
strokePaint.setColor(SK_ColorRED);
canvas->drawRect(clipRect, strokePaint);
}