| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index 220362ec18f89e3f2d933a01172049017ab6ec04..b960d8003d933b1339bc85042347d65e49f95b63 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -1233,7 +1233,7 @@ void RenderStyle::getShadowExtent(const ShadowData* shadow, LayoutUnit &top, Lay
|
| for ( ; shadow; shadow = shadow->next()) {
|
| 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);
|
| @@ -1252,7 +1252,7 @@ LayoutBoxExtent RenderStyle::getShadowInsetExtent(const ShadowData* shadow) cons
|
| for ( ; shadow; shadow = shadow->next()) {
|
| 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);
|
| @@ -1270,7 +1270,7 @@ void RenderStyle::getShadowHorizontalExtent(const ShadowData* shadow, LayoutUnit
|
| for ( ; shadow; shadow = shadow->next()) {
|
| 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);
|
| @@ -1285,7 +1285,7 @@ void RenderStyle::getShadowVerticalExtent(const ShadowData* shadow, LayoutUnit &
|
| for ( ; shadow; shadow = shadow->next()) {
|
| 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);
|
|
|