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

Unified Diff: ppapi/cpp/file_ref.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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 | « ppapi/cpp/file_io.cc ('k') | ppapi/cpp/file_ref.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/file_ref.h
diff --git a/ppapi/cpp/file_ref.h b/ppapi/cpp/file_ref.h
index 04e774577d94c2966116479a1895d0f9449878b4..05cdc3691b02fe9790693bc6faa0a92c3f95172f 100644
--- a/ppapi/cpp/file_ref.h
+++ b/ppapi/cpp/file_ref.h
@@ -27,16 +27,13 @@ class FileRef : public Resource {
/// object.
FileRef() {}
- /// A constructor used to create a <code>FileRef</code> and associate it with
- /// the provided <code>Instance</code>.
+ /// A constructor used when you have an existing PP_Resource for a FileRef
+ /// and which to create a C++ object that takes an additional reference to
+ /// the resource.
///
- /// @param[in] resource An <code>Instance</code>.
+ /// @param[in] resource A PP_Resource corresponding to file reference.
explicit FileRef(PP_Resource resource);
- /// A special structure used by the constructor that does not increment the
- /// reference count of the underlying file reference.
- struct PassRef {};
-
/// A constructor used when you have received a PP_Resource as a return
/// value that has already been reference counted.
///
« no previous file with comments | « ppapi/cpp/file_io.cc ('k') | ppapi/cpp/file_ref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698