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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineIterator.h

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/core/layout/line/InlineIterator.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineIterator.h b/third_party/WebKit/Source/core/layout/line/InlineIterator.h
index eb5fab1be15041124cd3430906ee3e7bc6d504ca..4c17835d21acdf249a7d76a8923952e2fc263433 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineIterator.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineIterator.h
@@ -147,10 +147,10 @@ static inline WTF::Unicode::CharDirection embedCharFromDirection(
EUnicodeBidi unicodeBidi) {
using namespace WTF::Unicode;
if (unicodeBidi == Embed) {
- return dir == TextDirection::Rtl ? RightToLeftEmbedding
- : LeftToRightEmbedding;
+ return dir == TextDirection::kRtl ? RightToLeftEmbedding
+ : LeftToRightEmbedding;
}
- return dir == TextDirection::Rtl ? RightToLeftOverride : LeftToRightOverride;
+ return dir == TextDirection::kRtl ? RightToLeftOverride : LeftToRightOverride;
}
static inline bool treatAsIsolated(const ComputedStyle& style) {
@@ -595,7 +595,7 @@ inline BidiRun* InlineBidiResolver::addTrailingRun(
BidiRun* newTrailingRun = new BidiRun(
context->override(), context->level(), start, stop, run->m_lineLayoutItem,
WTF::Unicode::OtherNeutral, context->dir());
- if (direction == TextDirection::Ltr)
+ if (direction == TextDirection::kLtr)
runs.addRun(newTrailingRun);
else
runs.prependRun(newTrailingRun);
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.h ('k') | third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698