Index: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp |
diff --git a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp |
index d8c9d1b90228eddb51335c06d7aa230c2974bee0..ca45217f5ba9ae22a727cd7493cecbaf78535de3 100644 |
--- a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp |
+++ b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp |
@@ -5,7 +5,8 @@ |
#include "config.h" |
#include "WebDelegatedRendererLayerImpl.h" |
-#include "DelegatedRendererLayerChromium.h" |
+#include "cc/compositor_frame.h" |
+#include "cc/DelegatedRendererLayerChromium.h" |
using namespace cc; |
@@ -25,4 +26,14 @@ WebLayer* WebDelegatedRendererLayerImpl::layer() |
return m_layer.get(); |
} |
+void WebDelegatedRendererLayerImpl::setFrameData(const WebCompositorFrame& frame) |
+{ |
+ static_cast<DelegatedRendererLayerChromium*>(m_layer->layer())->setFrameData(static_cast<const CompositorFrame&>(frame)); |
+} |
+ |
+void WebDelegatedRendererLayerImpl::getRecycledResources(WebCompositorTransferableResourceList* list) |
+{ |
+ static_cast<DelegatedRendererLayerChromium*>(m_layer->layer())->getRecycledResources(static_cast<TransferableResourceList*>(list)); |
+} |
+ |
} // namespace WebKit |