Index: gm/yuvtorgbeffect.cpp |
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp |
index b1f495e8cc54824f0bf8335ec8d6eb3ee44af898..12676f262e2477f72cd3a19487ea2b7400e3a0fd 100644 |
--- a/gm/yuvtorgbeffect.cpp |
+++ b/gm/yuvtorgbeffect.cpp |
@@ -104,7 +104,7 @@ protected: |
const int indices[6][3] = {{0, 1, 2}, {0, 2, 1}, {1, 0, 2}, {1, 2, 0}, {2, 0, 1}, {2, 1, 0}}; |
for (int i = 0; i < 6; ++i) { |
- SkAutoTUnref<GrEffectRef> effect( |
+ SkAutoTUnref<GrEffect> effect( |
GrYUVtoRGBEffect::Create(texture[indices[i][0]], |
texture[indices[i][1]], |
texture[indices[i][2]])); |