Title: [183420] trunk/Source/WebCore
- Revision
- 183420
- Author
- [email protected]
- Date
- 2015-04-27 14:02:31 -0700 (Mon, 27 Apr 2015)
Log Message
Build fix.
* accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postTextReplacementPlatformNotification):
Use -setObject:forKey:, not array subscript.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (183419 => 183420)
--- trunk/Source/WebCore/ChangeLog 2015-04-27 20:42:28 UTC (rev 183419)
+++ trunk/Source/WebCore/ChangeLog 2015-04-27 21:02:31 UTC (rev 183420)
@@ -1,3 +1,10 @@
+2015-04-27 Alexey Proskuryakov <[email protected]>
+
+ Build fix.
+
+ * accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::postTextReplacementPlatformNotification):
+ Use -setObject:forKey:, not array subscript.
+
2015-04-27 Eric Carlson <[email protected]>
WirelessTargetPicker should not be visible unless a file is playable
Modified: trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm (183419 => 183420)
--- trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm 2015-04-27 20:42:28 UTC (rev 183419)
+++ trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm 2015-04-27 21:02:31 UTC (rev 183420)
@@ -301,7 +301,7 @@
return;
NSMutableDictionary *userInfo = [[NSMutableDictionary alloc] initWithCapacity:4];
- userInfo[NSAccessibilityTextStateChangeTypeKey] = @(AXTextStateChangeTypeEdit);
+ [userInfo setObject:@(AXTextStateChangeTypeEdit) forKey:NSAccessibilityTextStateChangeTypeKey];
NSMutableArray *changes = [[NSMutableArray alloc] initWithCapacity:2];
if (NSDictionary *change = textReplacementChangeDictionary(object, deletionType, deletedText, position))
@@ -313,7 +313,7 @@
[changes release];
if (id wrapper = object->wrapper())
- userInfo[NSAccessibilityTextChangeElement] = wrapper;
+ [userInfo setObject:wrapper forKey:NSAccessibilityTextChangeElement];
AXPostNotificationWithUserInfo(rootWebArea()->wrapper(), NSAccessibilityValueChangedNotification, userInfo);
AXPostNotificationWithUserInfo(object->wrapper(), NSAccessibilityValueChangedNotification, userInfo);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes