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); |
} |