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

Unified Diff: webkit/plugins/npapi/webplugin.h

Issue 6693052: Don't retain NPNVWindowNPObject and NPNVPluginElementNPObject twice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: release plugin_element_ and window_npobject_ proxies Created 9 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
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin.h
diff --git a/webkit/plugins/npapi/webplugin.h b/webkit/plugins/npapi/webplugin.h
index db3b98a01aec825e6228482b48d1a8e5fa8aee24..d6689cc087d5c84df91e6ce343206a67d3427198 100644
--- a/webkit/plugins/npapi/webplugin.h
+++ b/webkit/plugins/npapi/webplugin.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -92,10 +92,12 @@ class WebPlugin {
virtual void Invalidate() = 0;
virtual void InvalidateRect(const gfx::Rect& rect) = 0;
- // Returns the NPObject for the browser's window object.
+ // Returns the NPObject for the browser's window object. Does not
+ // take a reference.
virtual NPObject* GetWindowScriptNPObject() = 0;
- // Returns the DOM element that loaded the plugin.
+ // Returns the DOM element that loaded the plugin. Does not take a
+ // reference.
virtual NPObject* GetPluginElement() = 0;
// Cookies
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698