Index: gm/convexpolyeffect.cpp |
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp |
index ac8ec72d0895c2488108c5a7c4fbe73606a616d8..4e79500459dd0a0593cea1085d4d32be67425f03 100644 |
--- a/gm/convexpolyeffect.cpp |
+++ b/gm/convexpolyeffect.cpp |
@@ -103,8 +103,7 @@ protected: |
} |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkBaseDevice* device = canvas->getTopDevice(); |
- GrRenderTarget* rt = device->accessRenderTarget(); |
+ GrRenderTarget* rt = canvas->internal_private_accessTopLayerRenderTarget(); |
if (NULL == rt) { |
return; |
} |