| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
 | 
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
 | 
| index a4e8a8485a6b414d6eaa16221cb798eb5368150e..41a6eaa42881bbc633beda1ae546cffec97b8a6f 100644
 | 
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
 | 
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
 | 
| @@ -926,10 +926,10 @@ PassRefPtr<ShadowList> StyleBuilderConverter::convertShadow(StyleResolverState&
 | 
|      ShadowDataVector shadows;
 | 
|      for (size_t i = 0; i < shadowCount; ++i) {
 | 
|          const CSSShadowValue* item = toCSSShadowValue(valueList->item(i));
 | 
| -        int x = item->x->computeLength<int>(state.style(), state.rootElementStyle(), zoom);
 | 
| -        int y = item->y->computeLength<int>(state.style(), state.rootElementStyle(), zoom);
 | 
| -        int blur = item->blur ? item->blur->computeLength<int>(state.style(), state.rootElementStyle(), zoom) : 0;
 | 
| -        int spread = item->spread ? item->spread->computeLength<int>(state.style(), state.rootElementStyle(), zoom) : 0;
 | 
| +        LayoutUnit x = item->x->computeLength<float>(state.style(), state.rootElementStyle(), zoom);
 | 
| +        LayoutUnit y = item->y->computeLength<float>(state.style(), state.rootElementStyle(), zoom);
 | 
| +        LayoutUnit blur = item->blur ? item->blur->computeLength<float>(state.style(), state.rootElementStyle(), zoom) : 0;
 | 
| +        LayoutUnit spread = item->spread ? item->spread->computeLength<float>(state.style(), state.rootElementStyle(), zoom) : 0;
 | 
|          ShadowStyle shadowStyle = item->style && item->style->getValueID() == CSSValueInset ? Inset : Normal;
 | 
|          Color color;
 | 
|          if (item->color)
 | 
| @@ -939,7 +939,7 @@ PassRefPtr<ShadowList> StyleBuilderConverter::convertShadow(StyleResolverState&
 | 
|  
 | 
|          if (!color.isValid())
 | 
|              color = Color::transparent;
 | 
| -        shadows.append(ShadowData(IntPoint(x, y), blur, spread, shadowStyle, color));
 | 
| +        shadows.append(ShadowData(LayoutPoint(x, y), blur, spread, shadowStyle, color));
 | 
|      }
 | 
|      return ShadowList::adopt(shadows);
 | 
|  }
 | 
| 
 |