Changeset 183434 in webkit


Ignore:
Timestamp:
Apr 27, 2015 4:18:33 PM (9 years ago)
Author:
ap@apple.com
Message:

Build fix

  • DumpRenderTree/mac/AccessibilityNotificationHandler.mm:

(-[AccessibilityNotificationHandler _notificationReceived:]):
Use -objectForKey:, not array subscript.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r183418 r183434  
     12015-04-27  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix
     4
     5        * DumpRenderTree/mac/AccessibilityNotificationHandler.mm:
     6        (-[AccessibilityNotificationHandler _notificationReceived:]):
     7        Use -objectForKey:, not array subscript.
     8
    192015-04-27  Alexey Proskuryakov  <ap@apple.com>
    210
  • trunk/Tools/DumpRenderTree/mac/AccessibilityNotificationHandler.mm

    r183368 r183434  
    118118        return;
    119119
    120     NSString *userInfoJSONValue = notification.userInfo[@"userInfo"];
     120    NSString *userInfoJSONValue = [[notification userInfo] objectForKey:@"userInfo"];
    121121
    122122    JSRetainPtr<JSStringRef> jsNotification(Adopt, [notificationName createJSStringRef]);
Note: See TracChangeset for help on using the changeset viewer.