re-land hide get/setLocalMatrix

This reverts commit b1d702a43b07934f5b001b1b09db2c57ede909a1.

TBR=scroggo@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/279903002

git-svn-id: http://skia.googlecode.com/svn/trunk@14702 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/perlinnoise.cpp b/gm/perlinnoise.cpp
index 1351ed7..8ffb7af 100644
--- a/gm/perlinnoise.cpp
+++ b/gm/perlinnoise.cpp
@@ -145,7 +145,7 @@
 
         SkMatrix lm;
         lm.setScale(2, 2);
-        paint.getShader()->setLocalMatrix(lm);
+        paint.setShader(SkShader::CreateLocalMatrixShader(paint.getShader(), lm))->unref();
         r.fRight += r.width();
         r.fBottom += r.height();