Fix build error for iOS. Unreviewed.
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Feb 2017 17:54:53 +0000 (17:54 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Feb 2017 17:54:53 +0000 (17:54 +0000)
* platform/graphics/GraphicsContext3D.cpp: Move stub function into !PLATFORM(COCOA) instead of !PLATFORM(MAC).

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/GraphicsContext3D.cpp

index 6e56c4d..2519e7a 100644 (file)
@@ -1,5 +1,11 @@
 2017-02-20  Jon Lee  <jonlee@apple.com>
 
+        Fix build error for iOS. Unreviewed.
+
+        * platform/graphics/GraphicsContext3D.cpp: Move stub function into !PLATFORM(COCOA) instead of !PLATFORM(MAC).
+
+2017-02-20  Jon Lee  <jonlee@apple.com>
+
         Unreviewed, rolling out r212639.
 
         Have a fix for the linker error on iOS.
index 2b2cd1c..a850b85 100644 (file)
@@ -659,7 +659,9 @@ unsigned GraphicsContext3D::getChannelBitsByFormat(GC3Denum format)
 void GraphicsContext3D::setContextVisibility(bool)
 {
 }
+#endif
 
+#if !PLATFORM(COCOA)
 void GraphicsContext3D::simulateContextChanged()
 {
 }