summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 18:37:43 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 18:37:43 +0000
commitef2a4600bb3ce96ab703922b6a40a69b51dccfaf (patch)
treed029136d78e423b38ef595eced7f726d648ee484 /chrome/renderer
parent85cc78c5489a2925214a02aef4baf716d74bb1cc (diff)
downloadchromium_src-ef2a4600bb3ce96ab703922b6a40a69b51dccfaf.zip
chromium_src-ef2a4600bb3ce96ab703922b6a40a69b51dccfaf.tar.gz
chromium_src-ef2a4600bb3ce96ab703922b6a40a69b51dccfaf.tar.bz2
Fix leak of windowless plugin background canvas
BUG=none TEST=existing plugin tests Review URL: http://codereview.chromium.org/1911003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index e345148..c46b56c 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -650,7 +650,7 @@ void WebPluginDelegateProxy::ResetWindowlessBitmaps() {
backing_store_canvas_.reset();
transport_store_canvas_.reset();
- background_store_canvas_.release();
+ background_store_canvas_.reset();
backing_store_painted_ = gfx::Rect();
}