Title: [205875] branches/safari-602-branch/Source/WebKit2
Revision
205875
Author
[email protected]
Date
2016-09-13 13:43:43 -0700 (Tue, 13 Sep 2016)

Log Message

Merge r205873. rdar://problem/28208208

Modified Paths

Diff

Modified: branches/safari-602-branch/Source/WebKit2/ChangeLog (205874 => 205875)


--- branches/safari-602-branch/Source/WebKit2/ChangeLog	2016-09-13 20:38:22 UTC (rev 205874)
+++ branches/safari-602-branch/Source/WebKit2/ChangeLog	2016-09-13 20:43:43 UTC (rev 205875)
@@ -1,3 +1,19 @@
+2016-09-13  Babak Shafiei  <[email protected]>
+
+        Merge r205873. rdar://problem/28208208
+
+    2016-09-13  Anders Carlsson  <[email protected]>
+
+            REGRESSION (r196321): Amazon Videos are all black in Fullscreen
+            https://bugs.webkit.org/show_bug.cgi?id=161924
+            rdar://problem/28208208
+
+            Reviewed by Dan Bernstein.
+
+            * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm:
+            (main):
+            Set AppleMagnifiedMode to true.
+
 2016-09-12  Babak Shafiei  <[email protected]>
 
         Merge r205783. rdar://problem/28229756

Modified: branches/safari-602-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm (205874 => 205875)


--- branches/safari-602-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm	2016-09-13 20:38:22 UTC (rev 205874)
+++ branches/safari-602-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm	2016-09-13 20:43:43 UTC (rev 205875)
@@ -92,6 +92,16 @@
 
 int main(int argc, char** argv)
 {
+#if defined(__i386__)
+    // FIXME: This should only be done for the 32-bit plug-in XPC service so we rely on the fact that
+    // it's the only of the XPC services that are 32-bit. We should come up with a more targeted #if check.
+    @autoreleasepool {
+        // We must set the state of AppleMagnifiedMode before NSApplication initialization so that the value will be in
+        // place before Cocoa startup logic runs and caches the value.
+        [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"AppleMagnifiedMode" : @YES }];
+    }
+#endif
+
     auto bootstrap = adoptOSObject(xpc_copy_bootstrap());
 #if PLATFORM(IOS)
     auto containerEnvironmentVariables = xpc_dictionary_get_value(bootstrap.get(), "ContainerEnvironmentVariables");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to