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

Unified Diff: Source/modules/mediastream/MediaStreamRegistry.h

Issue 552653005: Oilpan: Move MediaStreamSource, MediaStreamComponent and MediaStreamDescriptor to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/modules/mediastream/MediaStreamTrack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStreamRegistry.h
diff --git a/Source/modules/mediastream/MediaStreamRegistry.h b/Source/modules/mediastream/MediaStreamRegistry.h
index cbd2adcc62ffa433dab64ff6bfa916e1f9afd563..1294e3ba37b6dbe4369efe94ab8e9454ee6cdbaa 100644
--- a/Source/modules/mediastream/MediaStreamRegistry.h
+++ b/Source/modules/mediastream/MediaStreamRegistry.h
@@ -26,6 +26,7 @@
#define MediaStreamRegistry_h
#include "core/html/URLRegistry.h"
+#include "platform/heap/Handle.h"
#include "wtf/HashMap.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/StringHash.h"
@@ -50,7 +51,7 @@ public:
private:
MediaStreamRegistry();
- HashMap<String, RefPtr<MediaStreamDescriptor> > m_streamDescriptors;
+ PersistentHeapHashMap<String, Member<MediaStreamDescriptor> > m_streamDescriptors;
};
} // namespace blink
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/modules/mediastream/MediaStreamTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698