Index: ppapi/shared_impl/var_tracker.h |
diff --git a/ppapi/shared_impl/var_tracker.h b/ppapi/shared_impl/var_tracker.h |
index a9d92ea66d6a3649c6898a5a89694002bf093049..592bb030eb09372d42f66ecb2027b17ea795d0cd 100644 |
--- a/ppapi/shared_impl/var_tracker.h |
+++ b/ppapi/shared_impl/var_tracker.h |
@@ -97,6 +97,10 @@ class PPAPI_SHARED_EXPORT VarTracker { |
int GetRefCountForObject(const PP_Var& object); |
int GetTrackedWithNoReferenceCountForObject(const PP_Var& object); |
+ // Returns true if the given vartype is refcounted and has associated objects |
+ // (it's not POD). |
+ static bool IsVarTypeRefcounted(PP_VarType type); |
+ |
// Called after an instance is deleted to do var cleanup. |
virtual void DidDeleteInstance(PP_Instance instance) = 0; |
@@ -162,10 +166,6 @@ class PPAPI_SHARED_EXPORT VarTracker { |
VarMap::iterator GetLiveVar(const PP_Var& var); |
VarMap::const_iterator GetLiveVar(const PP_Var& var) const; |
- // Returns true if the given vartype is refcounted and has associated objects |
- // (it's not POD). |
- bool IsVarTypeRefcounted(PP_VarType type) const; |
- |
// Called when AddRefVar increases a "tracked" ProxyObject's refcount from |
// zero to one. In the plugin side of the proxy, we need to send some |
// messages to the host. In the host side, this should never be called since |