Index: ppapi/proxy/plugin_dispatcher_unittest.cc |
diff --git a/ppapi/proxy/plugin_dispatcher_unittest.cc b/ppapi/proxy/plugin_dispatcher_unittest.cc |
index 096783e60a044ebad0cdfe2f995ccb74cd9471cf..f3e8da5eb59939f914c808159421e1ae6aef9547 100644 |
--- a/ppapi/proxy/plugin_dispatcher_unittest.cc |
+++ b/ppapi/proxy/plugin_dispatcher_unittest.cc |
@@ -44,6 +44,8 @@ PPB_Audio dummy_audio_interface = { |
&StopPlayback |
}; |
+PPP_Instance dummy_ppp_instance_interface = {}; |
+ |
} // namespace |
class PluginDispatcherTest : public PluginProxyTest { |
@@ -57,8 +59,7 @@ class PluginDispatcherTest : public PluginProxyTest { |
TEST_F(PluginDispatcherTest, SupportsInterface) { |
RegisterTestInterface(PPB_AUDIO_INTERFACE, &dummy_audio_interface); |
- RegisterTestInterface(PPP_INSTANCE_INTERFACE, |
- reinterpret_cast<void*>(0xdeadbeef)); |
+ RegisterTestInterface(PPP_INSTANCE_INTERFACE, &dummy_ppp_instance_interface); |
// Sending a request for a random interface should fail. |
EXPECT_FALSE(SupportsInterface("Random interface")); |