summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 07:29:45 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 07:29:45 +0000
commit28df6a0e78c530665486ba8decaecd7a00a6d96f (patch)
treeb108cdc9fbd0cbc35d0a6c1eec57c0e491d12611 /webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
parentf8044101d9509f321d17147f6e223a49da96d597 (diff)
downloadchromium_src-28df6a0e78c530665486ba8decaecd7a00a6d96f.zip
chromium_src-28df6a0e78c530665486ba8decaecd7a00a6d96f.tar.gz
chromium_src-28df6a0e78c530665486ba8decaecd7a00a6d96f.tar.bz2
Make sure PluginResource doesn't live forever because of holding references to itself.
BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/11387003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_graphics_2d_impl.cc')
-rw-r--r--webkit/plugins/ppapi/ppb_graphics_2d_impl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
index c7013d2..e6831a7 100644
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
@@ -211,8 +211,6 @@ PPB_Graphics2D_Impl::AsPPB_Graphics2D_API() {
}
void PPB_Graphics2D_Impl::LastPluginRefWasDeleted() {
- Resource::LastPluginRefWasDeleted();
-
// Abort any pending callbacks.
unpainted_flush_callback_.PostAbort();
painted_flush_callback_.PostAbort();