Turn off simplePath optimization then Path object is used as out param

Change-Id: I4d9ae5c756b2ed1ba30483e8685ce1ad6c1f0c03
fixes:30349106
This commit is contained in:
sergeyv
2016-07-27 14:13:34 -07:00
parent 004d140042
commit a6a8557d6e
6 changed files with 21 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ public class PathDashPathEffect extends PathEffect {
*/
public PathDashPathEffect(Path shape, float advance, float phase,
Style style) {
native_instance = nativeCreate(shape.ni(), advance, phase,
native_instance = nativeCreate(shape.readOnlyNI(), advance, phase,
style.native_style);
}