Index: ppapi/proxy/plugin_resource_tracker_unittest.cc |
diff --git a/ppapi/proxy/plugin_resource_tracker_unittest.cc b/ppapi/proxy/plugin_resource_tracker_unittest.cc |
index 59b64db132f875a6cfd2ee0a6492f69496c31802..9a608649cbb0d9dc054caaca8cf261e8c37335f2 100644 |
--- a/ppapi/proxy/plugin_resource_tracker_unittest.cc |
+++ b/ppapi/proxy/plugin_resource_tracker_unittest.cc |
@@ -9,6 +9,7 @@ |
#include "ppapi/proxy/plugin_resource_tracker.h" |
#include "ppapi/proxy/ppapi_messages.h" |
#include "ppapi/proxy/ppapi_proxy_test.h" |
+#include "ppapi/shared_impl/proxy_lock.h" |
namespace ppapi { |
namespace proxy { |
@@ -40,6 +41,8 @@ class PluginResourceTrackerTest : public PluginProxyTest { |
}; |
TEST_F(PluginResourceTrackerTest, PluginResourceForHostResource) { |
+ ProxyAutoLock lock; |
+ |
PP_Resource host_resource = 0x5678; |
HostResource serialized; |