Chromium Code Reviews| Index: gm/dftext.cpp |
| diff --git a/gm/dftext.cpp b/gm/dftext.cpp |
| index dccc62adb46a1e3b08ebe76ac7d971a45b17337b..b8948743b6a61d798ae6c01f4c5f33940a6ca6e6 100755 |
| --- a/gm/dftext.cpp |
| +++ b/gm/dftext.cpp |
| @@ -149,7 +149,7 @@ protected: |
| #if SK_SUPPORT_GPU |
| // render offscreen buffer |
| SkImage* image = surface->newImageSnapshot(); |
| - image->draw(inputCanvas, 0, 0, NULL); |
| + inputCanvas->drawImage(image, 0, 0, NULL); |
| image->unref(); |
| #endif |
| } |