Move SkMatrixImageFilter into core, and add a factory fn for it.
BUG=skia:
Review URL: https://codereview.chromium.org/1011273003
diff --git a/gm/matriximagefilter.cpp b/gm/matriximagefilter.cpp
index eef2b45..a42870b 100644
--- a/gm/matriximagefilter.cpp
+++ b/gm/matriximagefilter.cpp
@@ -7,7 +7,7 @@
#include "gm.h"
#include "SkColor.h"
-#include "SkMatrixImageFilter.h"
+#include "SkImageFilter.h"
namespace skiagm {
@@ -25,7 +25,7 @@
void draw(SkCanvas* canvas, const SkRect& rect, const SkBitmap& bitmap,
const SkMatrix& matrix, SkFilterQuality filter) {
SkAutoTUnref<SkImageFilter> imageFilter(
- SkMatrixImageFilter::Create(matrix, filter));
+ SkImageFilter::CreateMatrixFilter(matrix, filter));
SkPaint paint;
paint.setImageFilter(imageFilter.get());
canvas->saveLayer(&rect, &paint);