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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.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/fonts/shaping/HarfBuzzShaper.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
index cc20e39748f7a21de3ee756784f0e81c4fb739c7..82d77dd14ac74d3b5cd34c0105860e824b5455ec 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
@@ -108,8 +108,8 @@ static inline hb_direction_t TextDirectionToHBDirection(
!fontData->isTextOrientationFallback()
? HB_DIRECTION_TTB
: HB_DIRECTION_LTR;
- return dir == TextDirection::Rtl ? HB_DIRECTION_REVERSE(harfBuzzDirection)
- : harfBuzzDirection;
+ return dir == TextDirection::kRtl ? HB_DIRECTION_REVERSE(harfBuzzDirection)
+ : harfBuzzDirection;
}
inline bool shapeRange(hb_buffer_t* harfBuzzBuffer,

Powered by Google App Engine
This is Rietveld 408576698