aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-27 12:13:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-27 12:13:51 -0700
commit6738c702423226619ee0172c12a3a007c5f68e57 (patch)
tree96d7941308e92731354cd8e4ef21ecfc900ca7cd /src/gpu/effects
parent81ce4a9c551f5ecbd549b992b1f1e7689049c615 (diff)
Rename GrContext's newDrawContext & drawContext to makeDrawContext
Diffstat (limited to 'src/gpu/effects')
-rw-r--r--src/gpu/effects/GrConfigConversionEffect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp
index f41e154556..2808af638f 100644
--- a/src/gpu/effects/GrConfigConversionEffect.cpp
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp
@@ -173,10 +173,10 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context
}
}
- sk_sp<GrDrawContext> readDC(context->newDrawContext(SkBackingFit::kExact, kSize, kSize,
- kConfig, nullptr));
- sk_sp<GrDrawContext> tempDC(context->newDrawContext(SkBackingFit::kExact, kSize, kSize,
- kConfig, nullptr));
+ sk_sp<GrDrawContext> readDC(context->makeDrawContext(SkBackingFit::kExact, kSize, kSize,
+ kConfig, nullptr));
+ sk_sp<GrDrawContext> tempDC(context->makeDrawContext(SkBackingFit::kExact, kSize, kSize,
+ kConfig, nullptr));
if (!readDC || !tempDC) {
return;
}