Title: [193700] branches/safari-601.1.46-branch/Source/WebKit/mac
Revision
193700
Author
matthew_han...@apple.com
Date
2015-12-07 21:41:05 -0800 (Mon, 07 Dec 2015)

Log Message

Merge r191261. rdar://problem/23769749

Modified Paths

Diff

Modified: branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog (193699 => 193700)


--- branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog	2015-12-08 05:41:02 UTC (rev 193699)
+++ branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog	2015-12-08 05:41:05 UTC (rev 193700)
@@ -1,3 +1,12 @@
+2015-10-17  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Build fix after r191260
+
+        Unreviewed.
+
+        * WebView/WebView.mm:
+        (+[WebView initialize]):
+
 2015-10-18  Myles C. Maxfield  <mmaxfi...@apple.com>
 
         Stop honoring the user default "WebKitKerningAndLigaturesEnabledByDefault"

Modified: branches/safari-601.1.46-branch/Source/WebKit/mac/WebView/WebView.mm (193699 => 193700)


--- branches/safari-601.1.46-branch/Source/WebKit/mac/WebView/WebView.mm	2015-12-08 05:41:02 UTC (rev 193699)
+++ branches/safari-601.1.46-branch/Source/WebKit/mac/WebView/WebView.mm	2015-12-08 05:41:05 UTC (rev 193700)
@@ -4686,18 +4686,15 @@
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_cacheModelChangedNotification:) name:WebPreferencesCacheModelChangedInternalNotification object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_preferencesRemovedNotification:) name:WebPreferencesRemovedNotification object:nil];
 
-    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
-
 #if PLATFORM(IOS)
     continuousSpellCheckingEnabled = NO;
-#endif
 
-#if !PLATFORM(IOS)
+#else
+
+    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
     continuousSpellCheckingEnabled = [defaults boolForKey:WebContinuousSpellCheckingEnabled];
     grammarCheckingEnabled = [defaults boolForKey:WebGrammarCheckingEnabled];
-#endif
 
-#if !PLATFORM(IOS)
     automaticQuoteSubstitutionEnabled = [self _shouldAutomaticQuoteSubstitutionBeEnabled];
     automaticLinkDetectionEnabled = [defaults boolForKey:WebAutomaticLinkDetectionEnabled];
     automaticDashSubstitutionEnabled = [self _shouldAutomaticDashSubstitutionBeEnabled];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to