⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181860 in webkit


Ignore:
Timestamp:
Mar 23, 2015, 12:20:24 PM (11 years ago)
Author:
jer.noble@apple.com
Message:

[iOS] Accessibility crashing because MediaPlayer is laying out UI off the main thread
https://bugs.webkit.org/show_bug.cgi?id=142970

Reviewed by Eric Carlson.

Return early after synchronously calling to the main thread to allocate the volume
view, to avoid re-allocating the volume view again on the web thread.

  • platform/audio/ios/MediaSessionManagerIOS.mm:

(-[WebMediaSessionHelper allocateVolumeView]):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181858 r181860  
     12015-03-23  Jer Noble  <jer.noble@apple.com>
     2
     3        [iOS] Accessibility crashing because MediaPlayer is laying out UI off the main thread
     4        https://bugs.webkit.org/show_bug.cgi?id=142970
     5
     6        Reviewed by Eric Carlson.
     7
     8        Return early after synchronously calling to the main thread to allocate the volume
     9        view, to avoid re-allocating the volume view again on the web thread.
     10
     11        * platform/audio/ios/MediaSessionManagerIOS.mm:
     12        (-[WebMediaSessionHelper allocateVolumeView]):
     13
    1142015-03-23  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebCore/platform/audio/ios/MediaSessionManagerIOS.mm

    r181423 r181860  
    252252        dispatch_sync(dispatch_get_main_queue(), [strongSelf]() {
    253253            [strongSelf allocateVolumeView];
    254             return;
    255254        });
     255        return;
    256256    }
    257257
Note: See TracChangeset for help on using the changeset viewer.