Title: [230780] trunk/Source/WebKit
Revision
230780
Author
jer.no...@apple.com
Date
2018-04-18 14:17:37 -0700 (Wed, 18 Apr 2018)

Log Message

Fix rendering of WKRemoteView layers in the simulator
https://bugs.webkit.org/show_bug.cgi?id=184752

Reviewed by Tim Horton.

* Platform/mac/LayerHostingContext.mm:
(WebKit::LayerHostingContext::createForExternalHostingProcess):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (230779 => 230780)


--- trunk/Source/WebKit/ChangeLog	2018-04-18 21:17:18 UTC (rev 230779)
+++ trunk/Source/WebKit/ChangeLog	2018-04-18 21:17:37 UTC (rev 230780)
@@ -1,5 +1,15 @@
 2018-04-18  Jer Noble  <jer.no...@apple.com>
 
+        Fix rendering of WKRemoteView layers in the simulator
+        https://bugs.webkit.org/show_bug.cgi?id=184752
+
+        Reviewed by Tim Horton.
+
+        * Platform/mac/LayerHostingContext.mm:
+        (WebKit::LayerHostingContext::createForExternalHostingProcess):
+
+2018-04-18  Jer Noble  <jer.no...@apple.com>
+
         Fix entitlements and sandboxing for iphoneminimalsimulator
         https://bugs.webkit.org/show_bug.cgi?id=184692
 

Modified: trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm (230779 => 230780)


--- trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm	2018-04-18 21:17:18 UTC (rev 230779)
+++ trunk/Source/WebKit/Platform/mac/LayerHostingContext.mm	2018-04-18 21:17:37 UTC (rev 230780)
@@ -55,7 +55,7 @@
     auto layerHostingContext = std::make_unique<LayerHostingContext>();
     layerHostingContext->m_layerHostingMode = LayerHostingMode::OutOfProcess;
 
-#if PLATFORM(IOS)
+#if PLATFORM(IOS) && !ENABLE(MINIMAL_SIMULATOR)
     // Use a very large display ID to ensure that the context is never put on-screen 
     // without being explicitly parented. See <rdar://problem/16089267> for details.
     layerHostingContext->m_context = [CAContext remoteContextWithOptions:@{
@@ -64,7 +64,7 @@
         kCAContextDisplayId : @10000
 #endif
     }];
-#elif __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
+#elif !ENABLE(MINIMAL_SIMULATOR) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
     [CAContext setAllowsCGSConnections:NO];
     layerHostingContext->m_context = [CAContext remoteContextWithOptions:@{kCAContextCIFilterBehavior :  @"ignore"}];
 #else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to