Title: [205874] branches/safari-602.1.50.0-branch/Source/WebKit2
- Revision
- 205874
- Author
- [email protected]
- Date
- 2016-09-13 13:38:22 -0700 (Tue, 13 Sep 2016)
Log Message
Merge r205873. rdar://problem/28208208
Modified Paths
Diff
Modified: branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog (205873 => 205874)
--- branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog 2016-09-13 20:14:04 UTC (rev 205873)
+++ branches/safari-602.1.50.0-branch/Source/WebKit2/ChangeLog 2016-09-13 20:38:22 UTC (rev 205874)
@@ -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-08-24 Babak Shafiei <[email protected]>
Rollout r204922. rdar://problem/27896368
Modified: branches/safari-602.1.50.0-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm (205873 => 205874)
--- branches/safari-602.1.50.0-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm 2016-09-13 20:14:04 UTC (rev 205873)
+++ branches/safari-602.1.50.0-branch/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm 2016-09-13 20:38:22 UTC (rev 205874)
@@ -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