Changeset 183420 in webkit
- Timestamp:
- Apr 27, 2015 2:02:31 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r183417 r183420 1 2015-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 1 8 2015-04-27 Eric Carlson <eric.carlson@apple.com> 2 9 -
trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
r183368 r183420 302 302 303 303 NSMutableDictionary *userInfo = [[NSMutableDictionary alloc] initWithCapacity:4]; 304 userInfo[NSAccessibilityTextStateChangeTypeKey] = @(AXTextStateChangeTypeEdit);304 [userInfo setObject:@(AXTextStateChangeTypeEdit) forKey:NSAccessibilityTextStateChangeTypeKey]; 305 305 306 306 NSMutableArray *changes = [[NSMutableArray alloc] initWithCapacity:2]; … … 314 314 315 315 if (id wrapper = object->wrapper()) 316 userInfo[NSAccessibilityTextChangeElement] = wrapper;316 [userInfo setObject:wrapper forKey:NSAccessibilityTextChangeElement]; 317 317 318 318 AXPostNotificationWithUserInfo(rootWebArea()->wrapper(), NSAccessibilityValueChangedNotification, userInfo);
Note: See TracChangeset
for help on using the changeset viewer.