Index: ppapi/proxy/ppb_instance_proxy.cc |
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc |
index f4b0f35b30c4f5dbc7b70effaf8c39d9ffa6d78a..f8b7b218ef27b256be6c90b5c6d93bf9bcbd6919 100644 |
--- a/ppapi/proxy/ppb_instance_proxy.cc |
+++ b/ppapi/proxy/ppb_instance_proxy.cc |
@@ -391,7 +391,8 @@ Resource* PPB_Instance_Proxy::GetSingletonResource(PP_Instance instance, |
new_singleton = new FlashFullscreenResource(connection, instance); |
break; |
case FLASH_SINGLETON_ID: |
- new_singleton = new FlashResource(connection, instance); |
+ new_singleton = new FlashResource(connection, instance, |
+ static_cast<PluginDispatcher*>(dispatcher())); |
break; |
#else |
case FLASH_CLIPBOARD_SINGLETON_ID: |