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