Title: [198593] trunk/Source/WebKit2
Revision
198593
Author
[email protected]
Date
2016-03-23 14:06:36 -0700 (Wed, 23 Mar 2016)

Log Message

MiniBrowser doesn't use accelerated drawing in WebKit2 windows if a WebKit1 window was opened first
https://bugs.webkit.org/show_bug.cgi?id=141576
<rdar://problem/25304548>

Reviewed by Simon Fraser.

* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences init]):
Make the NSUserDefaults key prefix for debug preferences (the only ones read
from NSUserDefaults) "WebKitDebug" instead of just "WebKit" so that they
don't conflict with the names that WebKit1 registers default values for.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (198592 => 198593)


--- trunk/Source/WebKit2/ChangeLog	2016-03-23 21:03:02 UTC (rev 198592)
+++ trunk/Source/WebKit2/ChangeLog	2016-03-23 21:06:36 UTC (rev 198593)
@@ -1,3 +1,17 @@
+2016-03-23  Tim Horton  <[email protected]>
+
+        MiniBrowser doesn't use accelerated drawing in WebKit2 windows if a WebKit1 window was opened first
+        https://bugs.webkit.org/show_bug.cgi?id=141576
+        <rdar://problem/25304548>
+
+        Reviewed by Simon Fraser.
+
+        * UIProcess/API/Cocoa/WKPreferences.mm:
+        (-[WKPreferences init]):
+        Make the NSUserDefaults key prefix for debug preferences (the only ones read
+        from NSUserDefaults) "WebKitDebug" instead of just "WebKit" so that they
+        don't conflict with the names that WebKit1 registers default values for.
+
 2016-03-23  Carlos Garcia Campos  <[email protected]>
 
         Use Region instead of IntRect in PageClient and WebPageProxy setViewNeedsDisplay method

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm (198592 => 198593)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm	2016-03-23 21:03:02 UTC (rev 198592)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKPreferences.mm	2016-03-23 21:06:36 UTC (rev 198593)
@@ -39,7 +39,7 @@
     if (!(self = [super init]))
         return nil;
 
-    API::Object::constructInWrapper<WebKit::WebPreferences>(self, String(), "WebKit", "WebKit");
+    API::Object::constructInWrapper<WebKit::WebPreferences>(self, String(), "WebKit", "WebKitDebug");
     return self;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to