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

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: 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
« no previous file with comments | « third_party/WebKit/Source/platform/DragImage.cpp ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « third_party/WebKit/Source/platform/DragImage.cpp ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698