Fix the !USE(IOSURFACE) build
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Feb 2015 07:25:13 +0000 (07:25 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Feb 2015 07:25:13 +0000 (07:25 +0000)
* Shared/mac/RemoteLayerBackingStore.mm:
SOFT_LINK_MAY_FAIL makes a function that will be unused if !USE(IOSURFACE).

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/mac/RemoteLayerBackingStore.mm

index c273492..c41550c 100644 (file)
@@ -1,5 +1,12 @@
 2015-02-16  Tim Horton  <timothy_horton@apple.com>
 
+        Fix the !USE(IOSURFACE) build
+
+        * Shared/mac/RemoteLayerBackingStore.mm:
+        SOFT_LINK_MAY_FAIL makes a function that will be unused if !USE(IOSURFACE).
+
+2015-02-16  Tim Horton  <timothy_horton@apple.com>
+
         Sometimes RemoteLayerBackingStore ends up non-volatile while the process is suspended
         <rdar://problem/19842957>
         https://bugs.webkit.org/show_bug.cgi?id=141675
index 4bc3a3e..ad92820 100644 (file)
 
 #if USE(IOSURFACE)
 #import <mach/mach_port.h>
-#endif
 
 SOFT_LINK_FRAMEWORK(QuartzCore);
 SOFT_LINK_MAY_FAIL(QuartzCore, CAMachPortCreate, CAMachPortRef, (mach_port_t port), (port));
+#endif
 
 using namespace WebCore;