summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/private/var_private.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 20:23:19 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 20:23:19 +0000
commit09af0f7661d6a5971804c9a8ec47bbd038a5de78 (patch)
treef2c56e46b629df59a3a1781ac54a7d43d170ea31 /ppapi/cpp/private/var_private.h
parent7e26ac973ede2fd0576d40086a437a3177668ea1 (diff)
downloadchromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.zip
chromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.tar.gz
chromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.tar.bz2
Convert resources to take an instance key instead of an Instance*.
Review URL: https://chromiumcodereview.appspot.com/9381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/private/var_private.h')
-rw-r--r--ppapi/cpp/private/var_private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/cpp/private/var_private.h b/ppapi/cpp/private/var_private.h
index 860f643..1c4cc8a 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() {}