Fix the build.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 02:10:43 +0000 (02:10 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 May 2015 02:10:43 +0000 (02:10 +0000)
* Platform/mac/LayerHostingContext.mm:
(WebKit::LayerHostingContext::setFencePort):

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

Source/WebKit2/ChangeLog
Source/WebKit2/Platform/mac/LayerHostingContext.mm

index e2bc55a..dd18f6c 100644 (file)
@@ -2,6 +2,13 @@
 
         Fix the build.
 
+        * Platform/mac/LayerHostingContext.mm:
+        (WebKit::LayerHostingContext::setFencePort):
+
+2015-05-05  Tim Horton  <timothy_horton@apple.com>
+
+        Fix the build.
+
         * UIProcess/mac/WKViewLayoutStrategy.mm:
         (-[WKViewDynamicSizeWithMinimumViewSizeLayoutStrategy updateLayout]):
 
index cd94236..84f315c 100644 (file)
@@ -102,13 +102,16 @@ CGColorSpaceRef LayerHostingContext::colorSpace() const
     return [m_context colorSpace];
 }
 
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
 void LayerHostingContext::setFencePort(mach_port_t fencePort)
 {
-#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
     [m_context setFencePort:fencePort];
+}
 #else
+NO_RETURN_DUE_TO_ASSERT void LayerHostingContext::setFencePort(mach_port_t fencePort)
+{
     ASSERT_NOT_REACHED();
-#endif
 }
+#endif
 
 } // namespace WebKit