summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppapi_webplugin_impl.h
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 22:34:22 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 22:34:22 +0000
commit13e343c565819075ce1eef5a001c875c795f7c33 (patch)
treeb6a9e03b6b77fef5d9d5a09101da1c25ff86487e /webkit/plugins/ppapi/ppapi_webplugin_impl.h
parentb86aad87785f4cdeaf9839619b2d1cc7e32e2f7f (diff)
downloadchromium_src-13e343c565819075ce1eef5a001c875c795f7c33.zip
chromium_src-13e343c565819075ce1eef5a001c875c795f7c33.tar.gz
chromium_src-13e343c565819075ce1eef5a001c875c795f7c33.tar.bz2
Re-land http://codereview.chromium.org/9403039/, r124106
Original description: """ PPAPI: Really force-free NPObjects on Instance destruction. (There still seems to be a memory leak with this patch; I may have to check our NPObject reference counting next.) BUG=114023 TEST= """ BUG=114023 TEST= TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/9564024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_webplugin_impl.h')
-rw-r--r--webkit/plugins/ppapi/ppapi_webplugin_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.h b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
index e853281..ae319a8 100644
--- a/webkit/plugins/ppapi/ppapi_webplugin_impl.h
+++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop_helpers.h"
+#include "ppapi/c/pp_var.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h"
#include "ui/gfx/rect.h"
#include "webkit/plugins/webkit_plugins_export.h"
@@ -93,6 +94,7 @@ class WebPluginImpl : public WebKit::WebPlugin {
scoped_refptr<PluginInstance> instance_;
scoped_refptr<PPB_URLLoader_Impl> document_loader_;
gfx::Rect plugin_rect_;
+ PP_Var instance_object_;
DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
};