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

Unified Diff: ppapi/proxy/ppb_core_proxy.cc

Issue 6282007: First pass at making the proxy handle multiple renderers. This associates the... (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_char_set_proxy.cc ('k') | ppapi/proxy/ppb_cursor_control_proxy.cc » ('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 71973)
+++ ppapi/proxy/ppb_core_proxy.cc (working copy)
@@ -14,6 +14,7 @@
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/ppb_core.h"
#include "ppapi/proxy/plugin_dispatcher.h"
+#include "ppapi/proxy/plugin_resource_tracker.h"
#include "ppapi/proxy/ppapi_messages.h"
namespace pp {
@@ -28,11 +29,11 @@
}
void AddRefResource(PP_Resource resource) {
- PluginDispatcher::Get()->plugin_resource_tracker()->AddRefResource(resource);
+ PluginResourceTracker::GetInstance()->AddRefResource(resource);
}
void ReleaseResource(PP_Resource resource) {
- PluginDispatcher::Get()->plugin_resource_tracker()->ReleaseResource(resource);
+ PluginResourceTracker::GetInstance()->ReleaseResource(resource);
}
void* MemAlloc(size_t num_bytes) {
« no previous file with comments | « ppapi/proxy/ppb_char_set_proxy.cc ('k') | ppapi/proxy/ppb_cursor_control_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698