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

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
Index: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 3fb3e1887b2f9fe5af9bb26af021268d520b965c..1015d5ec8913eb2011c8f21258f2f1863e7281ba 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:

Powered by Google App Engine
This is Rietveld 408576698