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

Unified Diff: media/base/cdm_promise_adapter.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
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | media/base/key_systems_support_uma.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/cdm_promise_adapter.h
diff --git a/media/base/cdm_promise_adapter.h b/media/base/cdm_promise_adapter.h
index d4e43814a6d47f9f8bcdee070e6b9b1e06e4db76..b078c0dd0a5393ba22174cc5e34a1161fad19d06 100644
--- a/media/base/cdm_promise_adapter.h
+++ b/media/base/cdm_promise_adapter.h
@@ -42,7 +42,7 @@ class MEDIA_EXPORT CdmPromiseAdapter {
private:
// A map between promise IDs and CdmPromises. It owns the CdmPromises.
- typedef base::ScopedPtrHashMap<uint32_t, CdmPromise> PromiseMap;
+ typedef base::ScopedPtrHashMap<uint32_t, scoped_ptr<CdmPromise>> PromiseMap;
// Finds, takes the ownership of and returns the promise for |promise_id|.
// Returns null if no promise can be found.
« no previous file with comments | « device/bluetooth/bluetooth_device_win.cc ('k') | media/base/key_systems_support_uma.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698