aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClipCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ClipCacheTest.cpp')
-rw-r--r--tests/ClipCacheTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp
index aebbef5952..2186a6dba9 100644
--- a/tests/ClipCacheTest.cpp
+++ b/tests/ClipCacheTest.cpp
@@ -27,7 +27,7 @@ static GrTexture* createTexture(GrContext* context) {
// let Skia know we will be using this texture as a render target
desc.fFlags = kRenderTarget_GrTextureFlagBit;
- desc.fConfig = kSkia8888_PM_GrPixelConfig;
+ desc.fConfig = kSkia8888_GrPixelConfig;
desc.fWidth = X_SIZE;
desc.fHeight = Y_SIZE;
@@ -144,7 +144,7 @@ static void test_cache(skiatest::Reporter* reporter, GrContext* context) {
desc.fFlags = kRenderTarget_GrTextureFlagBit;
desc.fWidth = X_SIZE;
desc.fHeight = Y_SIZE;
- desc.fConfig = kSkia8888_PM_GrPixelConfig;
+ desc.fConfig = kSkia8888_GrPixelConfig;
cache.acquireMask(clip1.getTopmostGenID(), desc, bound1);