ShapeDetection: use makeNonTextureImage() to support texture-backed sources

In certain cases (as reported in the bug) the SkImage used for detection
happens to be texture-backed.  This CL uses makeNonTextureImage()
which solves this problem while doing nothing when the SkImage is not
texture backed (i.e. is raster).


Cr-Commit-Position: refs/heads/master@{#467192}
1 file changed