Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index c2c663fafc2dd9f09990c6d9a84e08229097c8ca..c16cc2d54c2cbc449210406bfb0f78efe4cb1ddc 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -756,9 +756,9 @@ bool GrRectBlurEffect::CreateBlurProfileTexture(GrContext *context, float sigma, |
texDesc.fHeight = 1; |
texDesc.fConfig = kAlpha_8_GrPixelConfig; |
- static const GrContentKey::Domain kDomain = GrContentKey::GenerateDomain(); |
- GrContentKey key; |
- GrContentKey::Builder builder(&key, kDomain, 1); |
+ static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); |
+ GrUniqueKey key; |
+ GrUniqueKey::Builder builder(&key, kDomain, 1); |
builder[0] = profileSize; |
builder.finish(); |
@@ -917,9 +917,9 @@ GrFragmentProcessor* GrRRectBlurEffect::Create(GrContext* context, float sigma, |
return NULL; |
} |
- static const GrContentKey::Domain kDomain = GrContentKey::GenerateDomain(); |
- GrContentKey key; |
- GrContentKey::Builder builder(&key, kDomain, 2); |
+ static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); |
+ GrUniqueKey key; |
+ GrUniqueKey::Builder builder(&key, kDomain, 2); |
builder[0] = blurRadius; |
builder[1] = cornerRadius; |
builder.finish(); |