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

Commit 8dc9bec

Browse files
committed
fix comments
1 parent 38312ca commit 8dc9bec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flow/layers/shader_mask_layer_unittests.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,7 @@ TEST_F(ShaderMaskLayerTest, OpacityInheritance) {
373373
{
374374
expected_builder.translate(offset.fX, offset.fY);
375375
/* ShaderMaskLayer::Paint() */ {
376-
DlPaint sl_paint;
377-
sl_paint.setColor(opacity_alpha << 24);
376+
DlPaint sl_paint = DlPaint().setColor(opacity_alpha << 24);
378377
expected_builder.saveLayer(&child_path.getBounds(), &sl_paint);
379378
{
380379
/* child layer paint */ {

0 commit comments

Comments
 (0)