Changeset 195239 in webkit
- Timestamp:
- Jan 18, 2016 4:06:46 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r195237 r195239 1 2016-01-18 Olivier Blin <olivier.blin@softathome.com> 2 3 [Mac] Remove unused playerToPrivateMap() 4 https://bugs.webkit.org/show_bug.cgi?id=153203 5 6 Reviewed by Darin Adler. 7 8 This was used in previous EME implementations, but is unnecessary 9 since r163907. 10 11 No new tests since this removes dead code only. 12 13 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 14 (WebCore::globalLoaderDelegateQueue): Deleted. 15 (WebCore::MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC): Deleted. 16 1 17 2016-01-18 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r194819 r195239 389 389 #endif 390 390 391 #if ENABLE(ENCRYPTED_MEDIA_V2)392 typedef HashMap<MediaPlayer*, MediaPlayerPrivateAVFoundationObjC*> PlayerToPrivateMapType;393 static PlayerToPrivateMapType& playerToPrivateMap()394 {395 static NeverDestroyed<PlayerToPrivateMapType> map;396 return map;397 };398 #endif399 400 391 #if HAVE(AVFOUNDATION_LOADER_DELEGATE) 401 392 static dispatch_queue_t globalLoaderDelegateQueue() … … 513 504 #endif 514 505 { 515 #if ENABLE(ENCRYPTED_MEDIA_V2)516 playerToPrivateMap().set(player, this);517 #endif518 506 } 519 507 520 508 MediaPlayerPrivateAVFoundationObjC::~MediaPlayerPrivateAVFoundationObjC() 521 509 { 522 #if ENABLE(ENCRYPTED_MEDIA_V2)523 playerToPrivateMap().remove(player());524 #endif525 510 #if HAVE(AVFOUNDATION_LOADER_DELEGATE) 526 511 [m_loaderDelegate.get() setCallback:0];
Note: See TracChangeset
for help on using the changeset viewer.