Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit f7088be

Browse files
committed
[ CID 15618 ] libgraphics: path.cpp: Missing return statement in MCGPathTransform
Fixed by returning false if self is valid and mutable.
1 parent ebc8c0b commit f7088be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libgraphics/src/path.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,8 @@ bool MCGPathTransform(MCGPathRef self, const MCGAffineTransform &p_transform)
663663
SkMatrix t_matrix;
664664
MCGAffineTransformToSkMatrix(p_transform, t_matrix);
665665
self->path->transform(t_matrix);
666+
667+
return true;
666668
}
667669

668670
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)