| Index: third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp b/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| index 7b7679df95fa03954faea70197a2a923783c3bb6..2374b983fea50906bd4975e33deb0d8cb3c098a9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| @@ -213,11 +213,11 @@ void SnapToLinesLayouter::layout()
|
| // area and a width of margin at the right of the rendering area.
|
| IntRect titleArea = m_cueBox.containingBlock()->absoluteBoundingBoxRect();
|
| if (blink::isHorizontalWritingMode(writingMode)) {
|
| - titleArea.move(0, margin);
|
| - titleArea.contract(0, 2 * margin);
|
| + titleArea.move(0, margin.toInt());
|
| + titleArea.contract(0, (2 * margin).toInt());
|
| } else {
|
| - titleArea.move(margin, 0);
|
| - titleArea.contract(2 * margin, 0);
|
| + titleArea.move(margin.toInt(), 0);
|
| + titleArea.contract((2 * margin).toInt(), 0);
|
| }
|
|
|
| // 15. Step loop: If none of the boxes in boxes would overlap any of the
|
|
|