Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a793e0d

Browse files
committed
format code
1 parent 9cebbb8 commit a793e0d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

display_list/display_list_builder.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ sk_sp<DisplayList> DisplayListBuilder::Build() {
6666
storage_.realloc(bytes);
6767
bool compatible = layer_stack_.back().is_group_opacity_compatible();
6868
FML_DCHECK(current_layer_ == &layer_stack_.back());
69-
return sk_sp<DisplayList>(new DisplayList(storage_.release(), bytes, count,
70-
nested_bytes, nested_count,
71-
bounds(), cull_rect_, compatible, rtree()));
69+
return sk_sp<DisplayList>(
70+
new DisplayList(storage_.release(), bytes, count, nested_bytes,
71+
nested_count, bounds(), cull_rect_, compatible, rtree()));
7272
}
7373

7474
DisplayListBuilder::DisplayListBuilder(const SkRect& cull_rect)
@@ -452,7 +452,7 @@ void DisplayListBuilder::restore() {
452452
std::shared_ptr<const DlImageFilter> filter = layer_info.filter();
453453
const SkRect* clip = has_clip() ? &clip_bounds() : nullptr;
454454
if (filter) {
455-
if (!accumulator()->restore(
455+
if (!accumulator()->restore(
456456
[filter = filter, matrix = matrix()](const SkRect& input,
457457
SkRect& output) {
458458
SkIRect output_bounds;

display_list/display_list_utils.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,7 @@ class CombineBoundsAccumulator final : public virtual BoundsAccumulator {
484484
}
485485
return result;
486486
}
487-
bool is_not_empty() const override {
488-
return !is_empty();
489-
}
487+
bool is_not_empty() const override { return !is_empty(); }
490488

491489
void save() override {
492490
for (auto accumulator : accumulators_) {

0 commit comments

Comments
 (0)