diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 16:26:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 16:26:55 +0000 |
commit | 3fdbeb0bda49c354b0869bc718b4e808005f131e (patch) | |
tree | 9aa30bb97ba4937532a0bc9203942e64b03ba78e /content/plugin/webplugin_proxy.h | |
parent | 6cdfd487efe9df885643e98544b5396f3bf85dfa (diff) | |
download | chromium_src-3fdbeb0bda49c354b0869bc718b4e808005f131e.zip chromium_src-3fdbeb0bda49c354b0869bc718b4e808005f131e.tar.gz chromium_src-3fdbeb0bda49c354b0869bc718b4e808005f131e.tar.bz2 |
Fix painting glitch with text and NPAPI plugins. This was a regression from r167042. The problem was that for non-transparent windowless plugins we were combining the data below the plugin with the data that the plugin creates. We could just copy directly and not do any alpha-blending.
BUG=164800
Review URL: https://codereview.chromium.org/12487003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/webplugin_proxy.h')
-rw-r--r-- | content/plugin/webplugin_proxy.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/content/plugin/webplugin_proxy.h b/content/plugin/webplugin_proxy.h index c3b79ce..aa2aecb 100644 --- a/content/plugin/webplugin_proxy.h +++ b/content/plugin/webplugin_proxy.h @@ -280,7 +280,6 @@ class WebPluginProxy : public webkit::npapi::WebPlugin { scoped_ptr<WebPluginAcceleratedSurfaceProxy> accelerated_surface_; #else skia::RefPtr<SkCanvas> windowless_canvases_[2]; - skia::RefPtr<SkCanvas> background_canvas_; #if defined(USE_X11) scoped_refptr<SharedTransportDIB> windowless_dibs_[2]; |