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

Unified Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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: webkit/plugins/ppapi/plugin_module.cc
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc
index d6c4d32a512c9320a2dd5a755c882a1490a1d487..4d7626b5ac6ff6dc007e6ffed2a835d82db18483 100644
--- a/webkit/plugins/ppapi/plugin_module.cc
+++ b/webkit/plugins/ppapi/plugin_module.cc
@@ -512,6 +512,12 @@ base::ProcessId PluginModule::GetPeerProcessId() {
return base::kNullProcessId;
}
+int PluginModule::GetPluginChildId() {
+ if (out_of_process_proxy_)
+ return out_of_process_proxy_->GetPluginChildId();
+ return 0;
+}
+
// static
const PPB_Core* PluginModule::GetCore() {
return &core_interface;
« webkit/plugins/ppapi/plugin_module.h ('K') | « webkit/plugins/ppapi/plugin_module.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698