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
diff --git a/gm/offsetimagefilter.cpp b/gm/offsetimagefilter.cpp
index 3808021..0891ae5 100644
--- a/gm/offsetimagefilter.cpp
+++ b/gm/offsetimagefilter.cpp
@@ -57,6 +57,7 @@
if (clipRect.intersect(cropRectFloat)) {
SkPaint strokePaint;
strokePaint.setStyle(SkPaint::kStroke_Style);
+ strokePaint.setStrokeWidth(2);
strokePaint.setColor(SK_ColorRED);
canvas->drawRect(clipRect, strokePaint);
}