Index: ppapi/proxy/ppb_var_unittest.cc |
diff --git a/ppapi/proxy/ppb_var_unittest.cc b/ppapi/proxy/ppb_var_unittest.cc |
index 485b599b1b87738967ceb99ca6ba5bb4a2b2d0eb..79abf39b79b1eae4ba3012862128d1d59a5d0149 100644 |
--- a/ppapi/proxy/ppb_var_unittest.cc |
+++ b/ppapi/proxy/ppb_var_unittest.cc |
@@ -9,6 +9,7 @@ |
#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. |
@@ -30,8 +31,7 @@ class PPB_VarTest : public PluginProxyTest { |
}; |
TEST_F(PPB_VarTest, Strings) { |
- const PPB_Var* ppb_var = static_cast<const PPB_Var*>( |
- plugin_dispatcher()->GetInterfaceFromDispatcher(PPB_VAR_INTERFACE)); |
+ const PPB_Var* ppb_var = GetPPB_Var_Interface(); |
// Make a vector of strings, where the value of test_strings[i] is "i". |
const int kNumStrings = 5; |