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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc

Issue 2700123003: DO NOT COMMIT: Results of running old (current) 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/core/layout/ng/ng_line_builder.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
index 82c705714f40d2614d61e8ae57b37f062257e439..6bfb2d9a5ffe6b4ffaf8044a730eb432425e8fb1 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc
@@ -267,13 +267,13 @@ void NGLineBuilder::CopyFragmentDataToLayoutBlockFlow() {
run = new BidiRun(text_fragment->StartOffset() - text_offset,
text_fragment->EndOffset() - text_offset,
item.BidiLevel(), LineLayoutItem(layout_object));
- } else {
- DCHECK(layout_object->isAtomicInlineLevel());
- run = new BidiRun(0, 1, item.BidiLevel(),
- LineLayoutItem(layout_object));
- }
- bidi_runs.addRun(run);
- fragments_for_bidi_runs.push_back(text_fragment);
+ } else {
+ DCHECK(layout_object->isAtomicInlineLevel());
+ run =
+ new BidiRun(0, 1, item.BidiLevel(), LineLayoutItem(layout_object));
+ }
+ bidi_runs.addRun(run);
+ fragments_for_bidi_runs.push_back(text_fragment);
}
// TODO(kojii): bidi needs to find the logical last run.
bidi_runs.setLogicallyLastRun(bidi_runs.lastRun());

Powered by Google App Engine
This is Rietveld 408576698