Fix the build.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 00:21:47 +0000 (00:21 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 00:21:47 +0000 (00:21 +0000)
* UIProcess/mac/WKViewLayoutStrategy.mm:
(-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy updateLayout]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183844 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/mac/WKViewLayoutStrategy.mm

index 47eb362..e2bc55a 100644 (file)
@@ -1,3 +1,10 @@
+2015-05-05  Tim Horton  <timothy_horton@apple.com>
+
+        Fix the build.
+
+        * UIProcess/mac/WKViewLayoutStrategy.mm:
+        (-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy updateLayout]):
+
 2015-05-05  Timothy Horton  <timothy_horton@apple.com>
 
         Add a layout mode for computing fixed layout size from a minimum size
index a695b88..cda1827 100644 (file)
@@ -258,7 +258,7 @@ using namespace WebKit;
     CGFloat fixedLayoutWidth = _wkView.frame.size.width;
     CGFloat fixedLayoutHeight = _wkView.frame.size.height;
 
-    if (CGRectIsEmpty(_wkView.frame))
+    if (NSIsEmptyRect(_wkView.frame))
         return;
 
     if (_wkView.frame.size.width < minimumViewWidth) {