iOS build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 17:59:03 +0000 (17:59 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Nov 2014 17:59:03 +0000 (17:59 +0000)
* WebView/WebHTMLView.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175954 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebHTMLView.mm

index 95a9342..da0f0d9 100644 (file)
@@ -1,3 +1,9 @@
+2014-11-11  Dan Bernstein  <mitz@apple.com>
+
+        iOS build fix.
+
+        * WebView/WebHTMLView.mm:
+
 2014-11-10  Beth Dakin  <bdakin@apple.com>
 
         WK1: Support default actions for editable text with misspelled word
index 3d63eee..7a4497a 100644 (file)
@@ -5962,6 +5962,7 @@ static BOOL writingDirectionKeyBindingsEnabled()
 #endif
 }
 
+#if PLATFORM(MAC)
 - (void)_changeSpellingToWord:(NSString *)newWord
 {
     if (![self _canEdit])
@@ -5979,6 +5980,7 @@ static BOOL writingDirectionKeyBindingsEnabled()
     if ([self _shouldReplaceSelectionWithText:newWord givenAction:WebViewInsertActionPasted])
         [[self _frame] _replaceSelectionWithText:newWord selectReplacement:YES smartReplace:NO];
 }
+#endif
 
 @end