Title: [163002] trunk/Source/WebKit2
- Revision
- 163002
- Author
- timothy_hor...@apple.com
- Date
- 2014-01-28 22:03:52 -0800 (Tue, 28 Jan 2014)
Log Message
Fix the Mountain Lion build if you have private headers.
* UIProcess/mac/ViewGestureController.mm:
(WebKit::ViewGestureController::beginSwipeGesture):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (163001 => 163002)
--- trunk/Source/WebKit2/ChangeLog 2014-01-29 05:22:38 UTC (rev 163001)
+++ trunk/Source/WebKit2/ChangeLog 2014-01-29 06:03:52 UTC (rev 163002)
@@ -1,3 +1,10 @@
+2014-01-28 Tim Horton <timothy_hor...@apple.com>
+
+ Fix the Mountain Lion build if you have private headers.
+
+ * UIProcess/mac/ViewGestureController.mm:
+ (WebKit::ViewGestureController::beginSwipeGesture):
+
2014-01-28 Ian Henderson <i...@apple.com>
[iOS] UI process crashes whenever web process crashes
Modified: trunk/Source/WebKit2/UIProcess/mac/ViewGestureController.mm (163001 => 163002)
--- trunk/Source/WebKit2/UIProcess/mac/ViewGestureController.mm 2014-01-29 05:22:38 UTC (rev 163001)
+++ trunk/Source/WebKit2/UIProcess/mac/ViewGestureController.mm 2014-01-29 06:03:52 UTC (rev 163002)
@@ -322,13 +322,15 @@
RetainPtr<IOSurfaceRef> snapshot = ViewSnapshotStore::shared().snapshotAndRenderTreeSize(targetItem).first;
if (snapshot) {
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
uint32_t purgeabilityState = kIOSurfacePurgeableNonVolatile;
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
IOSurfaceSetPurgeable(snapshot.get(), kIOSurfacePurgeableNonVolatile, &purgeabilityState);
-#endif
if (purgeabilityState != kIOSurfacePurgeableEmpty)
[m_swipeSnapshotLayer setContents:(id)snapshot.get()];
+#else
+ [m_swipeSnapshotLayer setContents:(id)snapshot.get()];
+#endif
}
[m_swipeSnapshotLayer setContentsGravity:kCAGravityTopLeft];
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes