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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.h

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: content/browser/shared_worker/shared_worker_service_impl.h
diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h
index b09d58345a9275d4429e5e37a226b6832dbc4fd6..f1fa702dcc87794aa996c3d00f218ab91ac7cc95 100644
--- a/content/browser/shared_worker/shared_worker_service_impl.h
+++ b/content/browser/shared_worker/shared_worker_service_impl.h
@@ -109,9 +109,9 @@ class CONTENT_EXPORT SharedWorkerServiceImpl
typedef bool (*TryIncrementWorkerRefCountFunc)(bool);
// Pair of render_process_id and worker_route_id.
typedef std::pair<int, int> ProcessRouteIdPair;
- typedef base::ScopedPtrHashMap<ProcessRouteIdPair, SharedWorkerHost>
- WorkerHostMap;
- typedef base::ScopedPtrHashMap<int, SharedWorkerPendingInstance>
+ typedef base::ScopedPtrHashMap<ProcessRouteIdPair,
+ scoped_ptr<SharedWorkerHost>> WorkerHostMap;
+ typedef base::ScopedPtrHashMap<int, scoped_ptr<SharedWorkerPendingInstance>>
PendingInstaneMap;
SharedWorkerServiceImpl();
« no previous file with comments | « content/browser/service_worker/service_worker_internals_ui.h ('k') | content/common/gpu/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698