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

Unified Diff: ppapi/cpp/dev/resource_array_dev.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/dev/printing_dev.cc ('k') | ppapi/cpp/dev/resource_array_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/resource_array_dev.h
diff --git a/ppapi/cpp/dev/resource_array_dev.h b/ppapi/cpp/dev/resource_array_dev.h
index 1d5a25fda7495045347d3caadde24f6c29fe9d72..9d9635cf5480ed2a4f0f1b9a09b832ee0039df44 100644
--- a/ppapi/cpp/dev/resource_array_dev.h
+++ b/ppapi/cpp/dev/resource_array_dev.h
@@ -10,19 +10,17 @@
namespace pp {
-class Instance;
+class InstanceHandle;
class ResourceArray_Dev : public Resource {
public:
ResourceArray_Dev();
- struct PassRef {};
-
ResourceArray_Dev(PassRef, PP_Resource resource);
ResourceArray_Dev(const ResourceArray_Dev& other);
- ResourceArray_Dev(Instance* instance,
+ ResourceArray_Dev(const InstanceHandle& instance,
const PP_Resource elements[],
uint32_t size);
« no previous file with comments | « ppapi/cpp/dev/printing_dev.cc ('k') | ppapi/cpp/dev/resource_array_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698