Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
index 57f68b9485b00e8f027ca971d22ae6d628c7b789..35d922a28aa2c6730e07c1ce52019afe996b3f38 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -974,7 +974,7 @@ bool isSimpleDRRect(const FloatRoundedRect& outer, const FloatRoundedRect& inner |
// We also ignore DRRects with a very thick relative stroke (shapes which are mostly filled by |
// the stroke): Skia's stroke outline can diverge significantly from the outer/inner contours |
// in some edge cases, so we fall back to drawDRRect instead. |
- static float kMaxStrokeToSizeRatio = 0.75f; |
+ const float kMaxStrokeToSizeRatio = 0.75f; |
if (2 * strokeSize.width() / outer.rect().width() > kMaxStrokeToSizeRatio |
|| 2 * strokeSize.height() / outer.rect().height() > kMaxStrokeToSizeRatio) |
return false; |