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

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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: components/nacl/renderer/ppb_nacl_private_impl.cc
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc
index 2f3cd586f6cc490224ab63b751a0c1d4acd00bf5..de273e34819ad80edb1084610e444e2abbc94186 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -128,7 +128,8 @@ class NaClPluginInstance {
uint64_t pexe_size;
};
-typedef base::ScopedPtrHashMap<PP_Instance, NaClPluginInstance> InstanceMap;
+typedef base::ScopedPtrHashMap<PP_Instance, scoped_ptr<NaClPluginInstance>>
+ InstanceMap;
base::LazyInstance<InstanceMap> g_instance_map = LAZY_INSTANCE_INITIALIZER;
NaClPluginInstance* GetNaClPluginInstance(PP_Instance instance) {
« no previous file with comments | « components/html_viewer/mock_web_blob_registry_impl.h ('k') | components/password_manager/core/browser/affiliation_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698