Index: ppapi/proxy/ppb_var_unittest.cc |
=================================================================== |
--- ppapi/proxy/ppb_var_unittest.cc (revision 100753) |
+++ ppapi/proxy/ppb_var_unittest.cc (working copy) |
@@ -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 @@ |
}; |
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; |