aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkLightingImageFilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkLightingImageFilter.cpp')
-rw-r--r--src/effects/SkLightingImageFilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkLightingImageFilter.cpp b/src/effects/SkLightingImageFilter.cpp
index 337e883403..ddb033def3 100644
--- a/src/effects/SkLightingImageFilter.cpp
+++ b/src/effects/SkLightingImageFilter.cpp
@@ -334,7 +334,7 @@ public:
light,
surfaceScale,
kd)));
- return CreateEffectPtr(effect);
+ return CreateEffectRef(effect);
}
static const char* Name() { return "DiffuseLighting"; }
@@ -367,7 +367,7 @@ public:
surfaceScale,
ks,
shininess)));
- return CreateEffectPtr(effect);
+ return CreateEffectRef(effect);
}
static const char* Name() { return "SpecularLighting"; }