De-PLATFORM(IOS)-ify LayerHostingContext::setFencePort
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Apr 2015 22:23:16 +0000 (22:23 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Apr 2015 22:23:16 +0000 (22:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143342

Reviewed by Myles C. Maxfield.

* Platform/mac/LayerHostingContext.h:
* Platform/mac/LayerHostingContext.mm:
(WebKit::LayerHostingContext::setFencePort):
There's nothing iOS specific about this.

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

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

index 94f787c..62fc12f 100644 (file)
@@ -1,3 +1,15 @@
+2015-04-02  Timothy Horton  <timothy_horton@apple.com>
+
+        De-PLATFORM(IOS)-ify LayerHostingContext::setFencePort
+        https://bugs.webkit.org/show_bug.cgi?id=143342
+
+        Reviewed by Myles C. Maxfield.
+
+        * Platform/mac/LayerHostingContext.h:
+        * Platform/mac/LayerHostingContext.mm:
+        (WebKit::LayerHostingContext::setFencePort):
+        There's nothing iOS specific about this.
+
 2015-04-02  Oliver Hunt  <oliver@apple.com>
 
         Ensure that we always set network ATS context in the network process
index 5b2b1d4..5784ac7 100644 (file)
@@ -61,10 +61,8 @@ public:
 
     void setColorSpace(CGColorSpaceRef);
     CGColorSpaceRef colorSpace() const;
-    
-#if PLATFORM(IOS)
+
     void setFencePort(mach_port_t);
-#endif
 
 private:
     LayerHostingMode m_layerHostingMode;
index 5182399..5802008 100644 (file)
@@ -102,11 +102,9 @@ CGColorSpaceRef LayerHostingContext::colorSpace() const
     return [m_context colorSpace];
 }
 
-#if PLATFORM(IOS)
 void LayerHostingContext::setFencePort(mach_port_t fencePort)
 {
     [m_context setFencePort:fencePort];
 }
-#endif
 
 } // namespace WebKit