Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: trunk/src/content/renderer/webplugin_delegate_proxy.h

Issue 15757007: Revert 202364 "Track NPObject ownership by the originating plugi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/renderer/webplugin_delegate_proxy.h
===================================================================
--- trunk/src/content/renderer/webplugin_delegate_proxy.h (revision 202368)
+++ trunk/src/content/renderer/webplugin_delegate_proxy.h (working copy)
@@ -68,7 +68,6 @@
const gfx::Rect& clip_rect) OVERRIDE;
virtual void Paint(WebKit::WebCanvas* canvas, const gfx::Rect& rect) OVERRIDE;
virtual NPObject* GetPluginScriptableObject() OVERRIDE;
- virtual struct _NPP* GetPluginNPP() OVERRIDE;
virtual bool GetFormValue(string16* value) OVERRIDE;
virtual void DidFinishLoadWithReason(const GURL& url, NPReason reason,
int notify_id) OVERRIDE;
@@ -267,9 +266,6 @@
NPObject* npobject_;
base::WeakPtr<NPObjectStub> window_script_object_;
- // Dummy NPP used to uniquely identify this plugin.
- scoped_ptr<NPP_t> npp_;
-
// Event passed in by the plugin process and is used to decide if messages
// need to be pumped in the NPP_HandleEvent sync call.
scoped_ptr<base::WaitableEvent> modal_loop_pump_messages_event_;

Powered by Google App Engine
This is Rietveld 408576698