Index: ppapi/proxy/ppapi_proxy_test.h |
diff --git a/ppapi/proxy/ppapi_proxy_test.h b/ppapi/proxy/ppapi_proxy_test.h |
index ce9ec655f72d3c0f41644582f6681c04f47d0df1..790c9904d5209e0ac9ebcaf9f0cb5b9adecbc3d2 100644 |
--- a/ppapi/proxy/ppapi_proxy_test.h |
+++ b/ppapi/proxy/ppapi_proxy_test.h |
@@ -20,6 +20,7 @@ |
#include "ppapi/proxy/plugin_resource_tracker.h" |
#include "ppapi/proxy/plugin_var_tracker.h" |
#include "ppapi/proxy/resource_message_test_sink.h" |
+#include "ppapi/shared_impl/proxy_lock.h" |
#include "ppapi/shared_impl/test_globals.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -290,6 +291,9 @@ class HostProxyTestHarness : public ProxyTestHarnessBase { |
GlobalsConfiguration globals_config_; |
scoped_ptr<ppapi::TestGlobals> host_globals_; |
scoped_ptr<HostDispatcher> host_dispatcher_; |
+ // The host side of the real proxy doesn't lock, so this disables locking for |
+ // the thread the host side of the test runs on. |
+ scoped_ptr<ProxyLock::LockingDisablerForTest> disable_locking_; |
DelegateMock delegate_mock_; |
}; |