Chromium Code Reviews| Index: webkit/plugins/npapi/webplugin_delegate_impl_win.cc |
| =================================================================== |
| --- webkit/plugins/npapi/webplugin_delegate_impl_win.cc (revision 80026) |
| +++ webkit/plugins/npapi/webplugin_delegate_impl_win.cc (working copy) |
| @@ -462,12 +462,12 @@ |
| } |
| } |
| -void WebPluginDelegateImpl::Paint(skia::PlatformCanvas* canvas, |
| +void WebPluginDelegateImpl::Paint(WebKit::WebCanvas* canvas, |
|
vangelis
2011/04/01 23:35:54
What's the criteria for using WebCanvas here inste
alokp
2011/04/04 17:00:13
The function declaration as well as other implemen
|
| const gfx::Rect& rect) { |
| if (windowless_) { |
| - HDC hdc = canvas->beginPlatformPaint(); |
| + HDC hdc = skia::BeginPlatformPaint(canvas); |
| WindowlessPaint(hdc, rect); |
| - canvas->endPlatformPaint(); |
| + skia::EndPlatformPaint(canvas); |
| } |
| } |