| 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 9b1237e879bebc340e1966c46e019989d04161f9..f9a3dea83be83d0de7f9c553a4518b3ef7674932 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| @@ -79,7 +79,7 @@ LayoutUnit SnapToLinesLayouter::computeInitialPositionAdjustment(LayoutUnit& ste
|
|
|
| // 6. Let line be cue's computed line.
|
| // 7. Round line to an integer by adding 0.5 and then flooring it.
|
| - LayoutUnit linePosition = floorf(m_cueBox.snapToLinesPosition() + 0.5f);
|
| + LayoutUnit linePosition(floorf(m_cueBox.snapToLinesPosition() + 0.5f));
|
|
|
| WritingMode writingMode = m_cueBox.style()->writingMode();
|
| // 8. Vertical Growing Left: Add one to line then negate it.
|
|
|