Index: content/renderer/pepper/host_var_tracker.cc |
diff --git a/content/renderer/pepper/host_var_tracker.cc b/content/renderer/pepper/host_var_tracker.cc |
index 71a568ace7bf63f3d2e9a75072a8e2a79ea5e28a..ed67dbaa616b0487a2e512d407e0d5e68a4f4c94 100644 |
--- a/content/renderer/pepper/host_var_tracker.cc |
+++ b/content/renderer/pepper/host_var_tracker.cc |
@@ -6,6 +6,7 @@ |
#include "base/logging.h" |
#include "content/renderer/pepper/host_array_buffer_var.h" |
+#include "content/renderer/pepper/host_resource_var.h" |
#include "content/renderer/pepper/npobject_var.h" |
#include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
#include "ppapi/c/pp_var.h" |
@@ -102,6 +103,10 @@ int HostVarTracker::GetLiveNPObjectVarsForInstance(PP_Instance instance) const { |
return static_cast<int>(found->second->size()); |
} |
+ppapi::ResourceVar* HostVarTracker::MakeResourceVar(PP_Resource pp_resource) { |
+ return new HostResourceVar(pp_resource); |
+} |
+ |
void HostVarTracker::DidDeleteInstance(PP_Instance instance) { |
CheckThreadingPreconditions(); |