diff options
author | 2016-07-27 12:13:51 -0700 | |
---|---|---|
committer | 2016-07-27 12:13:51 -0700 | |
commit | 6738c702423226619ee0172c12a3a007c5f68e57 (patch) | |
tree | 96d7941308e92731354cd8e4ef21ecfc900ca7cd /src/gpu/GrYUVProvider.cpp | |
parent | 81ce4a9c551f5ecbd549b992b1f1e7689049c615 (diff) |
Rename GrContext's newDrawContext & drawContext to makeDrawContext
These both return sk_sp.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2186073002
Review-Url: https://codereview.chromium.org/2186073002
Diffstat (limited to 'src/gpu/GrYUVProvider.cpp')
-rw-r--r-- | src/gpu/GrYUVProvider.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp index e9b2ef5bf6..b187ec3888 100644 --- a/src/gpu/GrYUVProvider.cpp +++ b/src/gpu/GrYUVProvider.cpp @@ -114,10 +114,10 @@ sk_sp<GrTexture> GrYUVProvider::refAsTexture(GrContext* ctx, } // We never want to perform color-space conversion during the decode - sk_sp<GrDrawContext> drawContext(ctx->newDrawContext(SkBackingFit::kExact, - desc.fWidth, desc.fHeight, - desc.fConfig, nullptr, - desc.fSampleCnt)); + sk_sp<GrDrawContext> drawContext(ctx->makeDrawContext(SkBackingFit::kExact, + desc.fWidth, desc.fHeight, + desc.fConfig, nullptr, + desc.fSampleCnt)); if (!drawContext) { return nullptr; } |