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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index f42226205775d7df98216f125d44c20a63f005cc..43482a85797474481f9e2cccc4cb3732c79ab7c2 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4913,8 +4913,8 @@ void Document::setEncodingData(const DocumentEncodingData& newData) {
m_visuallyOrdered = shouldUseVisualOrdering;
// FIXME: How is possible to not have a layoutObject here?
if (!layoutViewItem().isNull()) {
- layoutViewItem().mutableStyleRef().setRTLOrdering(
- m_visuallyOrdered ? EOrder::Visual : EOrder::Logical);
+ layoutViewItem().mutableStyleRef().setRtlOrdering(
+ m_visuallyOrdered ? EOrder::kVisual : EOrder::kLogical);
}
setNeedsStyleRecalc(SubtreeStyleChange,
StyleChangeReasonForTracing::create(

Powered by Google App Engine
This is Rietveld 408576698