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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/ShapeResultBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
index 4514c13c4f7e91938145952753180d6fc6ca11e9..5b1aeb85c56d5131101c83de033d1b7926f70579 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
@@ -160,9 +160,9 @@ float ShapeResultBuffer::fillGlyphBufferForTextEmphasisRun(
uint16_t currentCharacterIndex =
run->m_startIndex + glyphData.characterIndex + runOffset;
bool isRunEnd = (i + 1 == numGlyphs);
- bool isClusterEnd =
- isRunEnd || (run->glyphToCharacterIndex(i + 1) + runOffset !=
- currentCharacterIndex);
+ bool isClusterEnd = isRunEnd ||
+ (run->glyphToCharacterIndex(i + 1) + runOffset !=
+ currentCharacterIndex);
if ((direction == TextDirection::kRtl && currentCharacterIndex >= to) ||
(direction != TextDirection::kRtl && currentCharacterIndex < from)) {

Powered by Google App Engine
This is Rietveld 408576698