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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 7e917309b2eabc2c1ebcb23d3718f5d386598ea2..caa2c4446c14d6e06cb9ffdfe5d3b7bd22cbf8bd 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2638,7 +2638,7 @@ bool Internals::selectPopupItemStyleIsRtl(Node* node, int itemIndex) {
return false;
const ComputedStyle* itemStyle =
select.itemComputedStyle(*select.listItems()[itemIndex]);
- return itemStyle && itemStyle->direction() == RTL;
+ return itemStyle && itemStyle->direction() == TextDirection::Rtl;
}
int Internals::selectPopupItemStyleFontHeight(Node* node, int itemIndex) {

Powered by Google App Engine
This is Rietveld 408576698