Changeset 238681 in webkit


Ignore:
Timestamp:
Nov 29, 2018 11:59:43 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Addressed a FIXME by removing an unnecessary call to [NSApplication sharedApplication].
https://bugs.webkit.org/show_bug.cgi?id=192099

Patch by Suresh Koppisetty <skoppisetty@apple.com> on 2018-11-29
Reviewed by Geoffrey Garen.

[NSApplication sharedApplication] call is no longer needed in platformInitializeWebProcess as [NSApplication _accessibilityInitialize] calls [NSApplication sharedApplication].

  • WebProcess/cocoa/WebProcessCocoa.mm:

(WebKit::WebProcess::platformInitializeWebProcess):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238678 r238681  
     12018-11-29  Suresh Koppisetty  <skoppisetty@apple.com>
     2
     3        Addressed a FIXME by removing an unnecessary call to [NSApplication sharedApplication].
     4        https://bugs.webkit.org/show_bug.cgi?id=192099
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        [NSApplication sharedApplication] call is no longer needed in platformInitializeWebProcess as [NSApplication _accessibilityInitialize] calls [NSApplication sharedApplication].
     9
     10        * WebProcess/cocoa/WebProcessCocoa.mm:
     11        (WebKit::WebProcess::platformInitializeWebProcess):
     12
    1132018-11-29  Megan Gardner  <megan_gardner@apple.com>
    214
  • trunk/Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

    r238593 r238681  
    186186    // Need to initialize accessibility for VoiceOver to work when the WebContent process is using NSRunLoop.
    187187    // Currently, it is also needed to allocate and initialize an NSApplication object.
    188     // FIXME: Remove the following line when rdar://problem/36323569 is fixed.
    189     [NSApplication sharedApplication];
    190188    [NSApplication _accessibilityInitialize];
    191189#endif
Note: See TracChangeset for help on using the changeset viewer.