Skip to content

Commit d5f9781

Browse files
committed
format
1 parent dd4d705 commit d5f9781

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

impeller/aiks/aiks_playground.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ namespace impeller {
1313

1414
class AiksPlayground : public Playground {
1515
public:
16-
using AiksPlaygroundCallback = std::function<bool(AiksContext& renderer, RenderPass& pass)>;
16+
using AiksPlaygroundCallback =
17+
std::function<bool(AiksContext& renderer, RenderPass& pass)>;
1718

1819
AiksPlayground();
1920

impeller/aiks/canvas.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ void Canvas::DrawPath(Path path, Paint paint) {
112112
entity.SetTransformation(GetCurrentTransformation());
113113
entity.SetStencilDepth(GetStencilDepth());
114114
entity.SetBlendMode(paint.blend_mode);
115-
entity.SetContents(paint.WithFilters(paint.CreateContentsForEntity(std::move(path))));
115+
entity.SetContents(
116+
paint.WithFilters(paint.CreateContentsForEntity(std::move(path))));
116117

117118
GetCurrentPass().AddEntity(std::move(entity));
118119
}

impeller/compiler/BUILD.gn

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ impeller_component("impellerc") {
4242

4343
sources = [ "impellerc_main.cc" ]
4444

45-
deps = [
46-
":compiler_lib",
47-
]
45+
deps = [ ":compiler_lib" ]
4846
}
4947

5048
group("compiler") {

impeller/entity/contents/filters/filter_contents.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "impeller/entity/contents/content_context.h"
1717
#include "impeller/entity/contents/filters/blend_filter_contents.h"
1818
#include "impeller/entity/contents/filters/border_mask_blur_filter_contents.h"
19-
#include "impeller/entity/contents/filters/inputs/filter_input.h"
2019
#include "impeller/entity/contents/filters/gaussian_blur_filter_contents.h"
20+
#include "impeller/entity/contents/filters/inputs/filter_input.h"
2121
#include "impeller/entity/contents/texture_contents.h"
2222
#include "impeller/entity/entity.h"
2323
#include "impeller/geometry/path_builder.h"

impeller/geometry/path.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ std::optional<Rect> Path::GetBoundingBox() const {
286286
return Rect{min.x, min.y, difference.x, difference.y};
287287
}
288288

289-
std::optional<Rect> Path::GetTransformedBoundingBox(const Matrix& transform) const {
289+
std::optional<Rect> Path::GetTransformedBoundingBox(
290+
const Matrix& transform) const {
290291
auto bounds = GetBoundingBox();
291292
if (!bounds.has_value()) {
292293
return std::nullopt;

0 commit comments

Comments
 (0)