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

Unified Diff: third_party/WebKit/Source/platform/exported/WebTextRun.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Added 2 changes in mac files 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/platform/exported/WebTextRun.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebTextRun.cpp b/third_party/WebKit/Source/platform/exported/WebTextRun.cpp
index d24a1c8cde117a61eb0ae781b9454c4ed954ead7..f0246faa1937d46aea21aaf7fded19fcd8cd8f62 100644
--- a/third_party/WebKit/Source/platform/exported/WebTextRun.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebTextRun.cpp
@@ -35,7 +35,8 @@
namespace blink {
WebTextRun::operator TextRun() const {
- return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion, rtl ? RTL : LTR,
+ return TextRun(text, 0, 0, TextRun::AllowTrailingExpansion,
+ rtl ? TextDirection::Rtl : TextDirection::Ltr,
directionalOverride);
}

Powered by Google App Engine
This is Rietveld 408576698