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

Unified Diff: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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/line/AbstractInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
index 0f681b53006462502eff7611554725399405bb9e..c726e40ca56d7bb79976d8fd057aa175636c3844 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
@@ -115,11 +115,11 @@ AbstractInlineTextBox::Direction AbstractInlineTextBox::getDirection() const {
return LeftToRight;
if (m_lineLayoutItem.style()->isHorizontalWritingMode()) {
- return (m_inlineTextBox->direction() == TextDirection::Rtl ? RightToLeft
- : LeftToRight);
+ return (m_inlineTextBox->direction() == TextDirection::kRtl ? RightToLeft
+ : LeftToRight);
}
- return (m_inlineTextBox->direction() == TextDirection::Rtl ? BottomToTop
- : TopToBottom);
+ return (m_inlineTextBox->direction() == TextDirection::kRtl ? BottomToTop
+ : TopToBottom);
}
void AbstractInlineTextBox::characterWidths(Vector<float>& widths) const {

Powered by Google App Engine
This is Rietveld 408576698