Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index 46c18b367c18e49f9f694b6e9a7d4a30389ed7cd..4502e6d7bf62a486f5262736ee22b7e73c80bb93 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -486,10 +486,10 @@ void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int |
return; |
SkRegion focusRingRegion; |
- const int outset = focusRingOutset(offset); |
+ offset = focusRingOffset(offset); |
for (unsigned i = 0; i < rectCount; i++) { |
SkIRect r = rects[i]; |
- r.inset(-outset, -outset); |
+ r.inset(-offset, -offset); |
focusRingRegion.op(r, SkRegion::kUnion_Op); |
} |