Index: ppapi/shared_impl/var.h |
diff --git a/ppapi/shared_impl/var.h b/ppapi/shared_impl/var.h |
index bded4656f7ed78f5370faeec815d5908c241e4e4..d656019c74e12a44803f7033d33219106f4b6fdd 100644 |
--- a/ppapi/shared_impl/var.h |
+++ b/ppapi/shared_impl/var.h |
@@ -22,6 +22,7 @@ class ArrayVar; |
class DictionaryVar; |
class NPObjectVar; |
class ProxyObjectVar; |
+class ResourceVar; |
class StringVar; |
class VarTracker; |
@@ -41,6 +42,7 @@ class PPAPI_SHARED_EXPORT Var : public base::RefCounted<Var> { |
virtual ProxyObjectVar* AsProxyObjectVar(); |
virtual ArrayVar* AsArrayVar(); |
virtual DictionaryVar* AsDictionaryVar(); |
+ virtual ResourceVar* AsResourceVar(); |
// Creates a PP_Var corresponding to this object. The return value will have |
// one reference addrefed on behalf of the caller. |