| Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
|
| diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
|
| index 2b550560cf566f473de040907b1d2e93a8e175aa..b2a866d113169cd921a56e324f031f379ac1450f 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
|
| @@ -155,13 +155,13 @@ public:
|
| {
|
| if (!includeLogicalLeftEdge())
|
| return 0;
|
| - return isHorizontal() ? boxModelObject().paddingLeft() : boxModelObject().paddingTop();
|
| + return (isHorizontal() ? boxModelObject().paddingLeft() : boxModelObject().paddingTop()).toInt();
|
| }
|
| int paddingLogicalRight() const
|
| {
|
| if (!includeLogicalRightEdge())
|
| return 0;
|
| - return isHorizontal() ? boxModelObject().paddingRight() : boxModelObject().paddingBottom();
|
| + return (isHorizontal() ? boxModelObject().paddingRight() : boxModelObject().paddingBottom()).toInt();
|
| }
|
|
|
| bool includeLogicalLeftEdge() const { return m_includeLogicalLeftEdge; }
|
|
|