| Index: gm/texdata.cpp
|
| diff --git a/gm/texdata.cpp b/gm/texdata.cpp
|
| index b2c7139d8533159fec241fc60f4c799108b64e4d..8ba0c7741c8eab3b8e877ddca24a7804e851b837 100644
|
| --- a/gm/texdata.cpp
|
| +++ b/gm/texdata.cpp
|
| @@ -18,8 +18,6 @@
|
|
|
| namespace skiagm {
|
|
|
| -extern GrContext* GetGr();
|
| -
|
| static const int S = 200;
|
|
|
| class TexDataGM : public GM {
|
| @@ -40,7 +38,7 @@ protected:
|
| virtual void onDraw(SkCanvas* canvas) {
|
| SkBaseDevice* device = canvas->getTopDevice();
|
| GrRenderTarget* target = device->accessRenderTarget();
|
| - GrContext* ctx = GetGr();
|
| + GrContext* ctx = GM::GetGr(canvas);
|
| if (ctx && target) {
|
| SkPMColor gTextureData[(2 * S) * (2 * S)];
|
| static const int stride = 2 * S;
|
|
|