Changeset 183420 in webkit


Ignore:
Timestamp:
Apr 27, 2015 2:02:31 PM (9 years ago)
Author:
ap@apple.com
Message:

Build fix.

  • accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postTextReplacementPlatformNotification):

Use -setObject:forKey:, not array subscript.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r183417 r183420  
     12015-04-27  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix.
     4
     5        * accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postTextReplacementPlatformNotification):
     6        Use -setObject:forKey:, not array subscript.
     7
    182015-04-27  Eric Carlson  <eric.carlson@apple.com>
    29
  • trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm

    r183368 r183420  
    302302
    303303    NSMutableDictionary *userInfo = [[NSMutableDictionary alloc] initWithCapacity:4];
    304     userInfo[NSAccessibilityTextStateChangeTypeKey] = @(AXTextStateChangeTypeEdit);
     304    [userInfo setObject:@(AXTextStateChangeTypeEdit) forKey:NSAccessibilityTextStateChangeTypeKey];
    305305
    306306    NSMutableArray *changes = [[NSMutableArray alloc] initWithCapacity:2];
     
    314314
    315315    if (id wrapper = object->wrapper())
    316         userInfo[NSAccessibilityTextChangeElement] = wrapper;
     316        [userInfo setObject:wrapper forKey:NSAccessibilityTextChangeElement];
    317317
    318318    AXPostNotificationWithUserInfo(rootWebArea()->wrapper(), NSAccessibilityValueChangedNotification, userInfo);
Note: See TracChangeset for help on using the changeset viewer.