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

Unified Diff: ppapi/shared_impl/resource_tracker.cc

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/shared_impl/resource_tracker.h ('k') | ppapi/thunk/ppb_file_ref_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/resource_tracker.cc
diff --git a/ppapi/shared_impl/resource_tracker.cc b/ppapi/shared_impl/resource_tracker.cc
index adadbe1b12c9a2dd75992cc310fe61cda0b5aa1e..2f240498d16e5934e0bca40f9cb5248c5754019d 100644
--- a/ppapi/shared_impl/resource_tracker.cc
+++ b/ppapi/shared_impl/resource_tracker.cc
@@ -96,7 +96,7 @@ void ResourceTracker::DidCreateInstance(PP_Instance instance) {
// instead.
if (instance_map_.find(instance) != instance_map_.end())
return;
- instance_map_[instance] = linked_ptr<InstanceData>(new InstanceData);
+ instance_map_[instance] = make_scoped_ptr(new InstanceData);
}
void ResourceTracker::DidDeleteInstance(PP_Instance instance) {
« no previous file with comments | « ppapi/shared_impl/resource_tracker.h ('k') | ppapi/thunk/ppb_file_ref_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698