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

Unified Diff: ppapi/cpp/private/var_private.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/private/udp_socket_private.cc ('k') | ppapi/cpp/private/var_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/var_private.h
diff --git a/ppapi/cpp/private/var_private.h b/ppapi/cpp/private/var_private.h
index 860f643148a4b31dd69b6e88dac443a0a6baf6ad..1c4cc8a096d052ab02ec5c88be21325179c3fcad 100644
--- a/ppapi/cpp/private/var_private.h
+++ b/ppapi/cpp/private/var_private.h
@@ -9,7 +9,7 @@
namespace pp {
-class InstancePrivate;
+class InstanceHandle;
namespace deprecated {
class ScriptableObject;
@@ -29,7 +29,8 @@ class VarPrivate : public Var {
VarPrivate(const std::string& utf8_str) : Var(utf8_str) {}
VarPrivate(PassRef, PP_Var var) : Var(PassRef(), var) {}
VarPrivate(DontManage, PP_Var var) : Var(DontManage(), var) {}
- VarPrivate(InstancePrivate* instance, deprecated::ScriptableObject* object);
+ VarPrivate(const InstanceHandle& instance,
+ deprecated::ScriptableObject* object);
VarPrivate(const Var& other) : Var(other) {}
virtual ~VarPrivate() {}
« no previous file with comments | « ppapi/cpp/private/udp_socket_private.cc ('k') | ppapi/cpp/private/var_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698