Title: [182305] trunk/Source/WebKit2
- Revision
- 182305
- Author
- timothy_hor...@apple.com
- Date
- 2015-04-02 22:02:41 -0700 (Thu, 02 Apr 2015)
Log Message
De-PLATFORM(IOS)-ify LayerHostingContext::setFencePort
https://bugs.webkit.org/show_bug.cgi?id=143342
* Platform/mac/LayerHostingContext.h:
* Platform/mac/LayerHostingContext.mm:
Actually, not available on Mavericks. Fix the build.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (182304 => 182305)
--- trunk/Source/WebKit2/ChangeLog 2015-04-03 03:46:39 UTC (rev 182304)
+++ trunk/Source/WebKit2/ChangeLog 2015-04-03 05:02:41 UTC (rev 182305)
@@ -1,3 +1,12 @@
+2015-04-02 Timothy Horton <timothy_hor...@apple.com>
+
+ De-PLATFORM(IOS)-ify LayerHostingContext::setFencePort
+ https://bugs.webkit.org/show_bug.cgi?id=143342
+
+ * Platform/mac/LayerHostingContext.h:
+ * Platform/mac/LayerHostingContext.mm:
+ Actually, not available on Mavericks. Fix the build.
+
2015-04-02 Brady Eidson <beid...@apple.com>
Unreviewed: Re-applied change after rollout.
Modified: trunk/Source/WebKit2/Platform/mac/LayerHostingContext.h (182304 => 182305)
--- trunk/Source/WebKit2/Platform/mac/LayerHostingContext.h 2015-04-03 03:46:39 UTC (rev 182304)
+++ trunk/Source/WebKit2/Platform/mac/LayerHostingContext.h 2015-04-03 05:02:41 UTC (rev 182305)
@@ -62,7 +62,9 @@
void setColorSpace(CGColorSpaceRef);
CGColorSpaceRef colorSpace() const;
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
void setFencePort(mach_port_t);
+#endif
private:
LayerHostingMode m_layerHostingMode;
Modified: trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm (182304 => 182305)
--- trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm 2015-04-03 03:46:39 UTC (rev 182304)
+++ trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm 2015-04-03 05:02:41 UTC (rev 182305)
@@ -102,9 +102,11 @@
return [m_context colorSpace];
}
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
void LayerHostingContext::setFencePort(mach_port_t fencePort)
{
[m_context setFencePort:fencePort];
}
+#endif
} // namespace WebKit
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes