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

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

Issue 9192038: Relanding this with fixes to the mac dbg builder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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
« no previous file with comments | « webkit/plugins/ppapi/resource_helper.h ('k') | webkit/plugins/ppapi/webkit_forwarding_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource_helper.cc
===================================================================
--- webkit/plugins/ppapi/resource_helper.cc (revision 118405)
+++ webkit/plugins/ppapi/resource_helper.cc (working copy)
@@ -17,9 +17,14 @@
// static
PluginInstance* ResourceHelper::GetPluginInstance(
const ::ppapi::Resource* resource) {
- return HostGlobals::Get()->GetInstance(resource->pp_instance());
+ return PPInstanceToPluginInstance(resource->pp_instance());
}
+PluginInstance* ResourceHelper::PPInstanceToPluginInstance(
+ PP_Instance instance) {
+ return HostGlobals::Get()->GetInstance(instance);
+}
+
PluginModule* ResourceHelper::GetPluginModule(
const ::ppapi::Resource* resource) {
PluginInstance* instance = GetPluginInstance(resource);
« no previous file with comments | « webkit/plugins/ppapi/resource_helper.h ('k') | webkit/plugins/ppapi/webkit_forwarding_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698