mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-21 18:42:53 +00:00
Everywhere: Remove 'clang-format off' comments that are no longer needed
This commit is contained in:
parent
ec492a1a08
commit
fecd08ce64
Notes:
sideshowbarker
2024-07-16 21:30:46 +09:00
Author: https://github.com/trflynn89
Commit: fecd08ce64
Pull-request: https://github.com/SerenityOS/serenity/pull/24096
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard ✅
14 changed files with 41 additions and 87 deletions
|
@ -449,12 +449,12 @@ JS::NonnullGCPtr<DOMMatrix> DOMMatrixReadOnly::flip_x()
|
|||
auto result = DOMMatrix::create_from_dom_matrix_read_only(realm(), *this);
|
||||
|
||||
// 2. Post-multiply result with new DOMMatrix([-1, 0, 0, 1, 0, 0]).
|
||||
// clang-format off
|
||||
Gfx::DoubleMatrix4x4 flip_matrix = { -1, 0, 0, 0,
|
||||
Gfx::DoubleMatrix4x4 flip_matrix = {
|
||||
-1, 0, 0, 0,
|
||||
0, 1, 0, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1 };
|
||||
// clang-format on
|
||||
0, 0, 0, 1
|
||||
};
|
||||
result->m_matrix = result->m_matrix * flip_matrix;
|
||||
|
||||
// 3. Return result.
|
||||
|
@ -468,12 +468,12 @@ JS::NonnullGCPtr<DOMMatrix> DOMMatrixReadOnly::flip_y()
|
|||
auto result = DOMMatrix::create_from_dom_matrix_read_only(realm(), *this);
|
||||
|
||||
// 2. Post-multiply result with new DOMMatrix([1, 0, 0, -1, 0, 0]).
|
||||
// clang-format off
|
||||
Gfx::DoubleMatrix4x4 flip_matrix = { 1, 0, 0, 0,
|
||||
Gfx::DoubleMatrix4x4 flip_matrix = {
|
||||
1, 0, 0, 0,
|
||||
0, -1, 0, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1 };
|
||||
// clang-format on
|
||||
0, 0, 0, 1
|
||||
};
|
||||
result->m_matrix = result->m_matrix * flip_matrix;
|
||||
|
||||
// 3. Return result.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue