Index: ppapi/proxy/ppp_instance_private_proxy_unittest.cc |
diff --git a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc |
index 58bac927529803b1939c766052bf9b5ea9adf407..df1af0ccf0744e7f8448394856ff834ed4d1b954 100644 |
--- a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc |
+++ b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc |
@@ -13,7 +13,9 @@ |
#include "ppapi/c/ppp_instance.h" |
#include "ppapi/c/private/ppp_instance_private.h" |
#include "ppapi/proxy/host_dispatcher.h" |
+#include "ppapi/proxy/interface_list.h" |
#include "ppapi/proxy/ppapi_proxy_test.h" |
+#include "ppapi/shared_impl/ppapi_permissions.h" |
#include "ppapi/shared_impl/ppb_var_shared.h" |
#include "ppapi/shared_impl/var.h" |
@@ -159,6 +161,10 @@ TEST_F(PPP_Instance_Private_ProxyTest, DISABLED_PPPInstancePrivate) { |
ASSERT_NE(kInstance, pp_instance()); |
HostDispatcher::SetForInstance(kInstance, host().host_dispatcher()); |
+ // Requires dev interfaces. |
+ InterfaceList::SetProcessGlobalPermissions( |
+ PpapiPermissions::AllPermissions()); |
+ |
// This file-local global is used by the PPP_Instance mock above in order to |
// access PPB_Var_Deprecated. |
plugin_dispatcher = plugin().plugin_dispatcher(); |