@@ -50,7 +50,7 @@ TEST_F(EntityTest, ThreeStrokesInOnePath) {
50
50
Entity entity;
51
51
entity.SetPath (path);
52
52
auto contents = std::make_unique<SolidStrokeContents>();
53
- contents->SetColor (Color::Red (). Premultiply () );
53
+ contents->SetColor (Color::Red ());
54
54
contents->SetStrokeSize (5.0 );
55
55
entity.SetContents (std::move (contents));
56
56
ASSERT_TRUE (OpenPlaygroundHere (entity));
@@ -80,7 +80,7 @@ TEST_F(EntityTest, TriangleInsideASquare) {
80
80
Entity entity;
81
81
entity.SetPath (path);
82
82
auto contents = std::make_unique<SolidStrokeContents>();
83
- contents->SetColor (Color::Red (). Premultiply () );
83
+ contents->SetColor (Color::Red ());
84
84
contents->SetStrokeSize (20.0 );
85
85
entity.SetContents (std::move (contents));
86
86
@@ -123,7 +123,7 @@ TEST_F(EntityTest, StrokeCapAndJoinTest) {
123
123
Path path, SolidStrokeContents::Cap cap,
124
124
SolidStrokeContents::Join join) {
125
125
auto contents = std::make_unique<SolidStrokeContents>();
126
- contents->SetColor (Color::Red (). Premultiply () );
126
+ contents->SetColor (Color::Red ());
127
127
contents->SetStrokeSize (width);
128
128
contents->SetStrokeCap (cap);
129
129
contents->SetStrokeJoin (join);
0 commit comments