| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index 14a20e037890730c8c7a8b1f3645d6c0faf07bfb..a4c0baaf6e75d3d87b54f5d1938f6406c77fbb18 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -709,7 +709,7 @@ LayoutUnit LayoutInline::offsetTop() const
|
| static LayoutUnit computeMargin(const LayoutInline* layoutObject, const Length& margin)
|
| {
|
| if (margin.isFixed())
|
| - return margin.value();
|
| + return LayoutUnit(margin.value());
|
| if (margin.hasPercent())
|
| return minimumValueForLength(margin, std::max(LayoutUnit(), layoutObject->containingBlock()->availableLogicalWidth()));
|
| return LayoutUnit();
|
| @@ -1426,8 +1426,8 @@ void LayoutInline::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions)
|
| container = this;
|
|
|
| FloatPoint absPos = container->localToAbsolute();
|
| - region.bounds.setX(absPos.x() + region.bounds.x());
|
| - region.bounds.setY(absPos.y() + region.bounds.y());
|
| + region.bounds.setX(LayoutUnit(absPos.x() + region.bounds.x()));
|
| + region.bounds.setY(LayoutUnit(absPos.y() + region.bounds.y()));
|
|
|
| regions.append(region);
|
| }
|
|
|