Title: [205873] trunk/Source/WebKit2
- Revision
- 205873
- Author
- [email protected]
- Date
- 2016-09-13 13:14:04 -0700 (Tue, 13 Sep 2016)
Log Message
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.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (205872 => 205873)
--- trunk/Source/WebKit2/ChangeLog 2016-09-13 20:12:07 UTC (rev 205872)
+++ trunk/Source/WebKit2/ChangeLog 2016-09-13 20:14:04 UTC (rev 205873)
@@ -1,3 +1,15 @@
+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-13 Carlos Garcia Campos <[email protected]>
[GTK] Get rid of DataObjectGtk::forClipboard and cleanup pasteboard code
Modified: trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm (205872 => 205873)
--- trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm 2016-09-13 20:12:07 UTC (rev 205872)
+++ trunk/Source/WebKit2/Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm 2016-09-13 20:14:04 UTC (rev 205873)
@@ -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