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

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

Issue 2622623003: Moved -webkit-rtl-ordering to be generated in ComputedStyleBase. (Closed)
Patch Set: 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/LayoutBlockFlowLine.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
index 4c530509670fae7e6d8e3ab32c9a658bf404551e..93675595e4f4648546df1bbd6af02b2abc282b71 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
@@ -148,7 +148,7 @@ static inline InlineTextBox* createInlineBoxForText(BidiRun& run,
if (text.isBR())
textBox->setIsText(isOnlyRun || text.document().inNoQuirksMode());
textBox->setDirOverride(
- run.dirOverride(text.style()->rtlOrdering() == EOrder::Visual));
+ run.dirOverride(text.style()->rtlOrdering() == EOrder::kVisual));
if (run.m_hasHyphen)
textBox->setHasHyphen(true);
return textBox;
@@ -1139,7 +1139,7 @@ void LayoutBlockFlow::layoutRunsAndFloatsInRange(
resolver.runs().deleteRuns();
} else {
VisualDirectionOverride override =
- (styleToUse.rtlOrdering() == EOrder::Visual
+ (styleToUse.rtlOrdering() == EOrder::kVisual
? (styleToUse.direction() == TextDirection::kLtr
? VisualLeftToRightOverride
: VisualRightToLeftOverride)
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/layout/TextRunConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698