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

Commit 871de2f

Browse files
Fix a clang-tidy warning in display_list_canvas_unittests.cc (#37062)
1 parent 7d5df81 commit 871de2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

display_list/display_list_canvas_unittests.cc

+3-2
Original file line numberDiff line numberDiff line change
@@ -3300,8 +3300,9 @@ TEST_F(DisplayListCanvas, SaveLayerConsolidation) {
33003300

33013301
// clang-format off
33023302
auto test_attributes = [&env, render_content]
3303-
(DlPaint& paint1, DlPaint& paint2, DlPaint paint_both,
3304-
bool same, bool rev_same, std::string desc1, std::string desc2) {
3303+
(DlPaint& paint1, DlPaint& paint2, const DlPaint& paint_both,
3304+
bool same, bool rev_same, const std::string& desc1,
3305+
const std::string& desc2) {
33053306
// clang-format on
33063307
DisplayListBuilder nested_builder;
33073308
nested_builder.saveLayer(&kTestBounds, &paint1);

0 commit comments

Comments
 (0)