Title: [149149] trunk/Source/WebKit/mac
Revision
149149
Author
[email protected]
Date
2013-04-25 15:37:22 -0700 (Thu, 25 Apr 2013)

Log Message

Build fix for smart compliers.

Reviewed by Tim Horton.

[NSDictionary dictionaryWithObjectsAndKeys:] returns an NSDictionary,
not a NSMutableDictionary.

* WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::updateSpellingUIWithGrammarString):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (149148 => 149149)


--- trunk/Source/WebKit/mac/ChangeLog	2013-04-25 22:25:07 UTC (rev 149148)
+++ trunk/Source/WebKit/mac/ChangeLog	2013-04-25 22:37:22 UTC (rev 149149)
@@ -1,3 +1,15 @@
+2013-04-25  Simon Fraser  <[email protected]>
+
+        Build fix for smart compliers.
+
+        Reviewed by Tim Horton.
+        
+        [NSDictionary dictionaryWithObjectsAndKeys:] returns an NSDictionary,
+        not a NSMutableDictionary.
+
+        * WebCoreSupport/WebEditorClient.mm:
+        (WebEditorClient::updateSpellingUIWithGrammarString):
+
 2013-04-25  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: ConsoleMessage should include line and column number where possible

Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm (149148 => 149149)


--- trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm	2013-04-25 22:25:07 UTC (rev 149148)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm	2013-04-25 22:37:22 UTC (rev 149149)
@@ -889,7 +889,7 @@
     }
     NSRange grammarRange = NSMakeRange(grammarDetail.location, grammarDetail.length);
     NSString* grammarUserDescription = grammarDetail.userDescription;
-    NSMutableDictionary* grammarDetailDict = [NSDictionary dictionaryWithObjectsAndKeys:[NSValue valueWithRange:grammarRange], NSGrammarRange, grammarUserDescription, NSGrammarUserDescription, corrections, NSGrammarCorrections, nil];
+    NSDictionary* grammarDetailDict = [NSDictionary dictionaryWithObjectsAndKeys:[NSValue valueWithRange:grammarRange], NSGrammarRange, grammarUserDescription, NSGrammarUserDescription, corrections, NSGrammarCorrections, nil];
     
     [[NSSpellChecker sharedSpellChecker] updateSpellingPanelWithGrammarString:badGrammarPhrase detail:grammarDetailDict];
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to