Chromium Code Reviews| Index: webkit/glue/webkit_glue.cc |
| =================================================================== |
| --- webkit/glue/webkit_glue.cc (revision 86430) |
| +++ webkit/glue/webkit_glue.cc (working copy) |
| @@ -403,7 +403,7 @@ |
| #if WEBKIT_USING_SKIA |
| return canvas; |
| #elif WEBKIT_USING_CG |
| - return canvas->getTopPlatformDevice().GetBitmapContext(); |
| + return skia::GetBitmapContext(skia::GetTopDevice(&canvas)); |
| #else |
| NOTIMPLEMENTED(); |
| return NULL; |