Index: gm/beziereffects.cpp |
=================================================================== |
--- gm/beziereffects.cpp (revision 10994) |
+++ gm/beziereffects.cpp (working copy) |
@@ -58,7 +58,7 @@ |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkDevice* device = canvas->getTopDevice(); |
+ SkBaseDevice* device = canvas->getTopDevice(); |
GrRenderTarget* rt = device->accessRenderTarget(); |
if (NULL == rt) { |
return; |
@@ -210,7 +210,7 @@ |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkDevice* device = canvas->getTopDevice(); |
+ SkBaseDevice* device = canvas->getTopDevice(); |
GrRenderTarget* rt = device->accessRenderTarget(); |
if (NULL == rt) { |
return; |
@@ -395,7 +395,7 @@ |
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
- SkDevice* device = canvas->getTopDevice(); |
+ SkBaseDevice* device = canvas->getTopDevice(); |
GrRenderTarget* rt = device->accessRenderTarget(); |
if (NULL == rt) { |
return; |