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

Unified Diff: third_party/WebKit/Source/core/html/track/vtt/VTTCue.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/core/html/track/vtt/VTTCue.cpp
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp
index 516b7bd594264b0a10d62b8e54c710b4b05670f1..b8ed06674e46345757fa92fa2ee800c35e4de7e3 100644
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp
@@ -546,7 +546,7 @@ static TextDirection determineDirectionality(const String& value,
bool& hasStrongDirectionality) {
TextRun run(value);
BidiResolver<VTTTextRunIterator, BidiCharacterRun> bidiResolver;
- bidiResolver.setStatus(BidiStatus(TextDirection::Ltr, false));
+ bidiResolver.setStatus(BidiStatus(TextDirection::kLtr, false));
bidiResolver.setPositionIgnoringNestedIsolates(VTTTextRunIterator(&run, 0));
return bidiResolver.determineDirectionality(&hasStrongDirectionality);
}
@@ -558,7 +558,7 @@ static CSSValueID determineTextDirection(DocumentFragment* vttRoot) {
// concatenation of the values of each WebVTT Text Object in nodes, in a
// pre-order, depth-first traversal, excluding WebVTT Ruby Text Objects and
// their descendants.
- TextDirection textDirection = TextDirection::Ltr;
+ TextDirection textDirection = TextDirection::kLtr;
Node* node = NodeTraversal::next(*vttRoot);
while (node) {
DCHECK(node->isDescendantOf(vttRoot));

Powered by Google App Engine
This is Rietveld 408576698