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

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

Issue 1363143003: [Oilpan] Move MediaStream{Source|Component|Descriptor} to Oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes in PS8 Created 5 years, 2 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: third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.h
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.h b/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.h
index 1ba3e25091ef9d831247584f94df48412835ffe1..6224e97dd881ca43d904bfaa9069b695e7d65642 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.h
+++ b/third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.h
@@ -27,8 +27,8 @@
#include "core/html/URLRegistry.h"
#include "modules/ModulesExport.h"
+#include "platform/heap/Handle.h"
#include "wtf/HashMap.h"
-#include "wtf/PassRefPtr.h"
#include "wtf/text/StringHash.h"
namespace blink {
@@ -50,7 +50,7 @@ public:
private:
MediaStreamRegistry();
- HashMap<String, RefPtr<MediaStreamDescriptor>> m_streamDescriptors;
+ PersistentHeapHashMap<String, Member<MediaStreamDescriptor>> m_streamDescriptors;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698