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

Unified Diff: ppapi/cpp/dev/buffer_dev.h

Issue 10909068: Fix resource leaks in CDM implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work done per dmichael's comments Created 8 years, 3 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 | « no previous file | ppapi/cpp/dev/buffer_dev.cc » ('j') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/buffer_dev.h
diff --git a/ppapi/cpp/dev/buffer_dev.h b/ppapi/cpp/dev/buffer_dev.h
index da89cbaee58ca83992dbe9dc4898a1251c35720d..af69aff569818e926ad8fd04a56482edd0eacf89 100644
--- a/ppapi/cpp/dev/buffer_dev.h
+++ b/ppapi/cpp/dev/buffer_dev.h
@@ -22,6 +22,10 @@ class Buffer_Dev : public Resource {
// resulting object will be is_null() if either Create() or Map() fails.
Buffer_Dev(const InstanceHandle& instance, uint32_t size);
+ /// Constructor used when the buffer resource already has a reference count
+ /// assigned. An additional reference is not taken.
dmichael (off chromium) 2012/09/05 19:46:19 How about "No additional reference is taken."
Tom Finegan 2012/09/05 20:15:26 Done.
+ Buffer_Dev(PassRef, PP_Resource resource);
+
// Unmap the underlying shared memory.
virtual ~Buffer_Dev();
« no previous file with comments | « no previous file | ppapi/cpp/dev/buffer_dev.cc » ('j') | ppapi/proxy/ppp_content_decryptor_private_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698