diff options
Diffstat (limited to 'ppapi/proxy/plugin_dispatcher_unittest.cc')
-rw-r--r-- | ppapi/proxy/plugin_dispatcher_unittest.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ppapi/proxy/plugin_dispatcher_unittest.cc b/ppapi/proxy/plugin_dispatcher_unittest.cc index 56f563b..8a32026 100644 --- a/ppapi/proxy/plugin_dispatcher_unittest.cc +++ b/ppapi/proxy/plugin_dispatcher_unittest.cc @@ -53,7 +53,7 @@ class PluginDispatcherTest : public PluginProxyTest { PluginDispatcherTest() {} bool HasTargetProxy(InterfaceID id) { - return !!plugin_dispatcher()->target_proxies_[id].get(); + return !!plugin_dispatcher()->proxies_[id].get(); } }; @@ -64,11 +64,6 @@ TEST_F(PluginDispatcherTest, SupportsInterface) { // Sending a request for a random interface should fail. EXPECT_FALSE(SupportsInterface("Random interface")); - // Sending a request for a PPB interface should fail even though we've - // registered it as existing in the GetInterface function (the plugin proxy - // should only respond to PPP interfaces when asked if it supports them). - EXPECT_FALSE(SupportsInterface(PPB_AUDIO_INTERFACE)); - // Sending a request for a supported PPP interface should succeed. EXPECT_TRUE(SupportsInterface(PPP_INSTANCE_INTERFACE)); } |