diff options
Diffstat (limited to 'content/plugin/webplugin_proxy.cc')
-rw-r--r-- | content/plugin/webplugin_proxy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc index e046f01..014843f 100644 --- a/content/plugin/webplugin_proxy.cc +++ b/content/plugin/webplugin_proxy.cc @@ -371,7 +371,7 @@ void WebPluginProxy::Paint(const gfx::Rect& rect) { // into (which is windowless_canvas_) so it can do blending. So we copy the // background bitmap into the windowless_canvas_. const SkBitmap& background_bitmap = - background_canvas_->getTopPlatformDevice().accessBitmap(false); + skia::GetTopDevice(*background_canvas_)->accessBitmap(false); windowless_canvas_->drawBitmap(background_bitmap, 0, 0); } else { // In non-transparent mode, the plugin doesn't care what's underneath, so we |