Title: [191253] trunk/Source/WebKit/mac
- Revision
- 191253
- Author
- mmaxfi...@apple.com
- Date
- 2015-10-17 17:00:28 -0700 (Sat, 17 Oct 2015)
Log Message
Build fix after r191250
Unreviewed.
* WebView/WebView.mm:
(+[WebView initialize]):
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (191252 => 191253)
--- trunk/Source/WebKit/mac/ChangeLog 2015-10-17 23:13:43 UTC (rev 191252)
+++ trunk/Source/WebKit/mac/ChangeLog 2015-10-18 00:00:28 UTC (rev 191253)
@@ -1,5 +1,14 @@
2015-10-17 Myles C. Maxfield <mmaxfi...@apple.com>
+ Build fix after r191250
+
+ Unreviewed.
+
+ * WebView/WebView.mm:
+ (+[WebView initialize]):
+
+2015-10-17 Myles C. Maxfield <mmaxfi...@apple.com>
+
Stop honoring the user default "WebKitKerningAndLigaturesEnabledByDefault"
https://bugs.webkit.org/show_bug.cgi?id=150287
Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (191252 => 191253)
--- trunk/Source/WebKit/mac/WebView/WebView.mm 2015-10-17 23:13:43 UTC (rev 191252)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm 2015-10-18 00:00:28 UTC (rev 191253)
@@ -4694,18 +4694,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