| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 443494073af596a9ac0f9fee05d49be897d7478c..3ea67c9f018d27094b8791c646a57fda5722502d 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -658,8 +658,7 @@
|
| int width, int height,
|
| GrPixelConfig config,
|
| int sampleCnt,
|
| - GrSurfaceOrigin origin,
|
| - const SkSurfaceProps* surfaceProps) {
|
| + GrSurfaceOrigin origin) {
|
| GrSurfaceDesc desc;
|
| desc.fFlags = kRenderTarget_GrSurfaceFlag;
|
| desc.fOrigin = origin;
|
| @@ -678,8 +677,7 @@
|
| return nullptr;
|
| }
|
|
|
| - sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(tex->asRenderTarget()),
|
| - surfaceProps));
|
| + sk_sp<GrDrawContext> drawContext(this->drawContext(sk_ref_sp(tex->asRenderTarget())));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|