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