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

Unified Diff: third_party/WebKit/Source/platform/text/BidiTextRun.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months 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/text/BidiTextRun.cpp
diff --git a/third_party/WebKit/Source/platform/text/BidiTextRun.cpp b/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
index 3caf3bf0d48041f65d4eb24999ef3fedbe0ddd33..e5018864b34f20989fb9dff2e741e376c769222a 100644
--- a/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
+++ b/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
@@ -39,7 +39,7 @@ TextDirection directionForRun(TextRun& run, bool* hasStrongDirectionality) {
if (!hasStrongDirectionality) {
// 8bit is Latin-1 and therefore is always LTR.
if (run.is8Bit())
- return TextDirection::Ltr;
+ return TextDirection::kLtr;
// length == 1 for more than 90% of cases of width() for CJK text.
if (run.length() == 1 && U16_IS_SINGLE(run.characters16()[0]))
« no previous file with comments | « third_party/WebKit/Source/platform/text/BidiResolverTest.cpp ('k') | third_party/WebKit/Source/platform/text/Character.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698