Title: [183889] trunk/Source/WebKit2
Revision
183889
Author
timothy_hor...@apple.com
Date
2015-05-06 14:36:02 -0700 (Wed, 06 May 2015)

Log Message

Fix the build.

* UIProcess/mac/WKViewLayoutStrategy.mm:
(-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy updateLayout]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (183888 => 183889)


--- trunk/Source/WebKit2/ChangeLog	2015-05-06 21:02:44 UTC (rev 183888)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-06 21:36:02 UTC (rev 183889)
@@ -1,3 +1,10 @@
+2015-05-06  Timothy Horton  <timothy_hor...@apple.com>
+
+        Fix the build.
+
+        * UIProcess/mac/WKViewLayoutStrategy.mm:
+        (-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy updateLayout]):
+
 2015-05-06  Dan Bernstein  <m...@apple.com>
 
         No way to get a WKWebProcessPlugInFrame’s parent frame

Modified: trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm (183888 => 183889)


--- trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm	2015-05-06 21:02:44 UTC (rev 183888)
+++ trunk/Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm	2015-05-06 21:36:02 UTC (rev 183889)
@@ -292,8 +292,8 @@
 
         _wkView._rootLayer.transform = transform;
     } else if (scale != _page->viewScaleFactor()) {
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
         CAContext *context = [_wkView.layer context];
-#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
         MachSendRight fencePort = MachSendRight::adopt([context createFencePort]);
         _page->scaleViewAndUpdateGeometryFenced(scale, IntSize(_wkView.frame.size), fencePort);
         [context setFencePort:fencePort.sendRight() commitHandler:^{
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to