| 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 f9a3dea83be83d0de7f9c553a4518b3ef7674932..32130beadc76d2a60dd3996f9bba78f3d6bdc4c7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp
|
| @@ -81,7 +81,7 @@ LayoutUnit SnapToLinesLayouter::computeInitialPositionAdjustment(LayoutUnit& ste
|
| // 7. Round line to an integer by adding 0.5 and then flooring it.
|
| LayoutUnit linePosition(floorf(m_cueBox.snapToLinesPosition() + 0.5f));
|
|
|
| - WritingMode writingMode = m_cueBox.style()->writingMode();
|
| + WritingMode writingMode = m_cueBox.style()->getWritingMode();
|
| // 8. Vertical Growing Left: Add one to line then negate it.
|
| if (writingMode == RightToLeftWritingMode)
|
| linePosition = -(linePosition + 1);
|
|
|