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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2546333002: Changed Order to an enum class and renamed its members (Closed)
Patch Set: Created 4 years 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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 3e9c5d1e26b6a768db73e1eb8eb4afdb3bdfb0b3..b6bbd5126e0a24bad2a9462d795b5af180a1acc2 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -603,8 +603,8 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForDocument(Document& document) {
const LocalFrame* frame = document.frame();
RefPtr<ComputedStyle> documentStyle = ComputedStyle::create();
- documentStyle->setRTLOrdering(document.visuallyOrdered() ? VisualOrder
- : LogicalOrder);
+ documentStyle->setRTLOrdering(document.visuallyOrdered() ? EOrder::Visual
+ : EOrder::Logical);
documentStyle->setZoom(frame && !document.printing() ? frame->pageZoomFactor()
: 1);
FontDescription documentFontDescription = documentStyle->getFontDescription();

Powered by Google App Engine
This is Rietveld 408576698