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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 11413200: Refactored PPB_Flash GetSettings to the new pepper resource model (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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_flash_proxy.cc ('k') | ppapi/shared_impl/scoped_pp_var.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/shared_impl/scoped_pp_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698