Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: ppapi/proxy/ppb_var_unittest.cc

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_var_proxy.cc ('k') | ppapi/proxy/ppb_video_capture_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ppapi/proxy/ppb_var_proxy.cc ('k') | ppapi/proxy/ppb_video_capture_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698