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

Unified Diff: ppapi/proxy/ppb_core_proxy.cc

Issue 6334016: Refactor PPAPI proxy resource handling to maintain which host they came from,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « ppapi/proxy/ppb_core_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_core_proxy.cc
===================================================================
--- ppapi/proxy/ppb_core_proxy.cc (revision 72840)
+++ ppapi/proxy/ppb_core_proxy.cc (working copy)
@@ -110,12 +110,12 @@
return handled;
}
-void PPB_Core_Proxy::OnMsgAddRefResource(PP_Resource resource) {
- ppb_core_target()->AddRefResource(resource);
+void PPB_Core_Proxy::OnMsgAddRefResource(HostResource resource) {
+ ppb_core_target()->AddRefResource(resource.host_resource());
}
-void PPB_Core_Proxy::OnMsgReleaseResource(PP_Resource resource) {
- ppb_core_target()->ReleaseResource(resource);
+void PPB_Core_Proxy::OnMsgReleaseResource(HostResource resource) {
+ ppb_core_target()->ReleaseResource(resource.host_resource());
}
} // namespace proxy
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.h ('k') | ppapi/proxy/ppb_cursor_control_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698