diff options
Diffstat (limited to 'ppapi/proxy/ppb_var_unittest.cc')
-rw-r--r-- | ppapi/proxy/ppb_var_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/ppb_var_unittest.cc b/ppapi/proxy/ppb_var_unittest.cc index 79abf39..485b599 100644 --- a/ppapi/proxy/ppb_var_unittest.cc +++ b/ppapi/proxy/ppb_var_unittest.cc @@ -9,7 +9,6 @@ #include "ppapi/c/pp_var.h" #include "ppapi/c/ppb_var.h" #include "ppapi/proxy/ppapi_proxy_test.h" -#include "ppapi/proxy/ppb_var_proxy.h" // TODO(dmichael): Make PPB_Var_Proxy and PluginResourceTracker thread-safe and // add thread-safety tests here. @@ -31,7 +30,8 @@ class PPB_VarTest : public PluginProxyTest { }; TEST_F(PPB_VarTest, Strings) { - const PPB_Var* ppb_var = GetPPB_Var_Interface(); + const PPB_Var* ppb_var = static_cast<const PPB_Var*>( + plugin_dispatcher()->GetInterfaceFromDispatcher(PPB_VAR_INTERFACE)); // Make a vector of strings, where the value of test_strings[i] is "i". const int kNumStrings = 5; |