Title: [161786] trunk/Source/WebCore
Revision
161786
Author
dba...@webkit.org
Date
2014-01-11 18:25:07 -0800 (Sat, 11 Jan 2014)

Log Message

[iOS] Fix the build

Only call CGContextFlush() when building for OS X < 10.9.

* platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
(WebCore::ImageBufferBackingStoreCache::deallocate):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161785 => 161786)


--- trunk/Source/WebCore/ChangeLog	2014-01-12 01:54:22 UTC (rev 161785)
+++ trunk/Source/WebCore/ChangeLog	2014-01-12 02:25:07 UTC (rev 161786)
@@ -1,3 +1,12 @@
+2014-01-11  Daniel Bates  <daba...@apple.com>
+
+        [iOS] Fix the build
+
+        Only call CGContextFlush() when building for OS X < 10.9.
+
+        * platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
+        (WebCore::ImageBufferBackingStoreCache::deallocate):
+
 2014-01-11  Anders Carlsson  <ander...@apple.com>
 
         InspectorAgentRegistry should use std::unique_ptr

Modified: trunk/Source/WebCore/platform/graphics/cg/ImageBufferBackingStoreCache.cpp (161785 => 161786)


--- trunk/Source/WebCore/platform/graphics/cg/ImageBufferBackingStoreCache.cpp	2014-01-12 01:54:22 UTC (rev 161785)
+++ trunk/Source/WebCore/platform/graphics/cg/ImageBufferBackingStoreCache.cpp	2014-01-12 02:25:07 UTC (rev 161786)
@@ -200,7 +200,7 @@
     CGContextRestoreGState(context);
     // Clear opportunistically so CG has more time to carry it out.
     CGContextClearRect(context, CGRectMake(0, 0, surfaceSize.width(), surfaceSize.height()));
-#if __MAC_OS_X_VERSION_MIN_REQUIRED < 1090
+#if !PLATFORM(IOS) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1090
     CGContextFlush(context);
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to