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

Unified Diff: ppapi/shared_impl/resource_tracker.h

Issue 1649623002: Update ppapi to not use linked_ptr or ScopedVector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark RawVarDataGraph as DISALLOW_COPY_AND_ASSIGN Created 4 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/raw_var_data.cc ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/resource_tracker.h
diff --git a/ppapi/shared_impl/resource_tracker.h b/ppapi/shared_impl/resource_tracker.h
index 23514051aecb4a04b9f434079ff47a5d7f2dd0a6..8e4ac080fe509a2ba838a3dce97f0932bae51530 100644
--- a/ppapi/shared_impl/resource_tracker.h
+++ b/ppapi/shared_impl/resource_tracker.h
@@ -11,7 +11,6 @@
#include "base/containers/hash_tables.h"
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
@@ -107,7 +106,7 @@ class PPAPI_SHARED_EXPORT ResourceTracker {
// going away (otherwise, they may crash if they outlive the instance).
ResourceSet resources;
};
- typedef base::hash_map<PP_Instance, linked_ptr<InstanceData> > InstanceMap;
+ typedef base::hash_map<PP_Instance, scoped_ptr<InstanceData>> InstanceMap;
InstanceMap instance_map_;
« no previous file with comments | « ppapi/proxy/raw_var_data.cc ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698