Index: webkit/glue/webmediaplayer_impl.cc |
=================================================================== |
--- webkit/glue/webmediaplayer_impl.cc (revision 86706) |
+++ webkit/glue/webmediaplayer_impl.cc (working copy) |
@@ -687,8 +687,8 @@ |
// Copy the frame rendered to our temporary skia canvas onto the passed in |
// canvas. |
- skia_canvas_->getTopPlatformDevice().DrawToContext(canvas, 0, 0, |
- &normalized_cgrect); |
+ skia::DrawToNativeContext(skia_canvas_.get(), canvas, 0, 0, |
+ &normalized_cgrect); |
CGContextRestoreGState(canvas); |
#else |