Chromium Code Reviews| Index: gm/texdata.cpp |
| diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
| index c89ce734f7584e3d12d015310d66768f53b26855..617ed027438120cdb2faaad94ffbb192ce6c99f2 100644 |
| --- a/gm/texdata.cpp |
| +++ b/gm/texdata.cpp |
| @@ -22,7 +22,8 @@ static const int S = 200; |
| DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) { |
| GrRenderTarget* target = canvas->internal_private_accessTopLayerRenderTarget(); |
| GrContext* ctx = canvas->getGrContext(); |
| - SkAutoTUnref<GrDrawContext> drawContext(ctx ? ctx->drawContext(target) : nullptr); |
| + SkAutoTUnref<GrDrawContext> drawContext(ctx ? ctx->drawingMgr().drawContext(target) |
|
bsalomon
2015/10/16 17:54:53
really want to have to go through ->drawingMgr() f
|
| + : nullptr); |
| if (drawContext && target) { |
| SkAutoTArray<SkPMColor> gTextureData((2 * S) * (2 * S)); |
| static const int stride = 2 * S; |