Adopt CAMachPort-as-layer-contents
[WebKit-https.git] / Source / WebKit2 / Shared / mac / RemoteLayerBackingStore.h
index bae090b1a915252ec9cda46be2ff8d20f1bc0229..067cf6e01cdb87e64136eca9b49780a4e55a6072 100644 (file)
@@ -29,6 +29,7 @@
 #include "ShareableBitmap.h"
 #include <WebCore/FloatRect.h>
 #include <WebCore/IOSurface.h>
+#include <WebCore/MachSendRight.h>
 #include <WebCore/Region.h>
 #include <chrono>
 
@@ -133,6 +134,7 @@ private:
     Buffer m_backBuffer;
 #if USE(IOSURFACE)
     Buffer m_secondaryBackBuffer;
+    WebCore::MachSendRight m_frontBufferSendRight;
 #endif
 
     RetainPtr<CGContextRef> m_frontContextPendingFlush;