Skip to content

Commit

Permalink
Bug 1727604: clang-format the layout directory. r=layout-reviewers,TYLin
Browse files Browse the repository at this point in the history
This patch's changes were automatically generated by this command:
./mach clang-format -p layout/

Differential Revision: https://phabricator.services.mozilla.com/D123662
  • Loading branch information
dholbert committed Aug 25, 2021
1 parent f1f1d9f commit 1f76d3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions layout/base/nsLayoutUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8412,8 +8412,7 @@ void nsLayoutUtils::DoLogTestDataForPaint(LayerManager* aManager,
const std::string& aKey,
const std::string& aValue) {
MOZ_ASSERT(nsLayoutUtils::IsAPZTestLoggingEnabled(), "don't call me");
if (WebRenderLayerManager* wrlm =
aManager->AsWebRenderLayerManager()) {
if (WebRenderLayerManager* wrlm = aManager->AsWebRenderLayerManager()) {
wrlm->LogTestDataForCurrentPaint(aScrollId, aKey, aValue);
}
}
Expand Down
4 changes: 3 additions & 1 deletion layout/style/nsStyleTransformMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ static void ProcessRotate3D(Matrix4x4& aMatrix, float aX, float aY, float aZ,
aMatrix = temp * aMatrix;
}

static void ProcessPerspective(Matrix4x4& aMatrix, const StyleGenericPerspectiveFunction<Length>& aPerspective) {
static void ProcessPerspective(
Matrix4x4& aMatrix,
const StyleGenericPerspectiveFunction<Length>& aPerspective) {
if (aPerspective.IsNone()) {
return;
}
Expand Down

0 comments on commit 1f76d3e

Please sign in to comment.