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

Unified Diff: ppapi/proxy/ppp_instance_private_proxy_unittest.cc

Issue 8344025: Add a new globals object for PPAPI tracking information. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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_video_capture_proxy.cc ('k') | ppapi/proxy/ppp_instance_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_instance_private_proxy_unittest.cc
===================================================================
--- ppapi/proxy/ppp_instance_private_proxy_unittest.cc (revision 106515)
+++ ppapi/proxy/ppp_instance_private_proxy_unittest.cc (working copy)
@@ -156,7 +156,7 @@
// Now instance_obj is valid and should have a ref-count of 1.
PluginVarTracker& plugin_var_tracker =
- PluginResourceTracker::GetInstance()->var_tracker();
+ *PluginGlobals::Get()->plugin_var_tracker();
// Check the plugin-side reference count.
EXPECT_EQ(1, plugin_var_tracker.GetRefCountForObject(instance_obj));
// Check the host-side var and reference count.
« no previous file with comments | « ppapi/proxy/ppb_video_capture_proxy.cc ('k') | ppapi/proxy/ppp_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698