Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVTTCue.cpp

Issue 1743803002: Rename enums/functions that collide in chromium style in core/style/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-8
Patch Set: get-names-9: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698