| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index e812ea97fc86c8bb968b0b6b8bc4f9c427ae620a..124feb6ee08ed18a288e31858203e8fe8532903a 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -1274,7 +1274,7 @@ void RenderStyle::getShadowExtent(const ShadowList* shadowList, LayoutUnit &top,
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| if (shadow.style() == Inset)
|
| continue;
|
| - int blurAndSpread = shadow.blur() + shadow.spread();
|
| + LayoutUnit blurAndSpread = shadow.blur() + shadow.spread();
|
|
|
| top = min<LayoutUnit>(top, shadow.y() - blurAndSpread);
|
| right = max<LayoutUnit>(right, shadow.x() + blurAndSpread);
|
| @@ -1295,7 +1295,7 @@ LayoutBoxExtent RenderStyle::getShadowInsetExtent(const ShadowList* shadowList)
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| if (shadow.style() == Normal)
|
| continue;
|
| - int blurAndSpread = shadow.blur() + shadow.spread();
|
| + LayoutUnit blurAndSpread = shadow.blur() + shadow.spread();
|
| top = max<LayoutUnit>(top, shadow.y() + blurAndSpread);
|
| right = min<LayoutUnit>(right, shadow.x() - blurAndSpread);
|
| bottom = min<LayoutUnit>(bottom, shadow.y() - blurAndSpread);
|
| @@ -1315,7 +1315,7 @@ void RenderStyle::getShadowHorizontalExtent(const ShadowList* shadowList, Layout
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| if (shadow.style() == Inset)
|
| continue;
|
| - int blurAndSpread = shadow.blur() + shadow.spread();
|
| + LayoutUnit blurAndSpread = shadow.blur() + shadow.spread();
|
|
|
| left = min<LayoutUnit>(left, shadow.x() - blurAndSpread);
|
| right = max<LayoutUnit>(right, shadow.x() + blurAndSpread);
|
| @@ -1332,7 +1332,7 @@ void RenderStyle::getShadowVerticalExtent(const ShadowList* shadowList, LayoutUn
|
| const ShadowData& shadow = shadowList->shadows()[i];
|
| if (shadow.style() == Inset)
|
| continue;
|
| - int blurAndSpread = shadow.blur() + shadow.spread();
|
| + LayoutUnit blurAndSpread = shadow.blur() + shadow.spread();
|
|
|
| top = min<LayoutUnit>(top, shadow.y() - blurAndSpread);
|
| bottom = max<LayoutUnit>(bottom, shadow.y() + blurAndSpread);
|
|
|