Index: cc/layers/content_layer_client.h |
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h |
index ea22e9798919ba4603fe2f8bdb4f69d082b561f7..c8d3a7e9873a5c1282dc0a3dda019f8191516979 100644 |
--- a/cc/layers/content_layer_client.h |
+++ b/cc/layers/content_layer_client.h |
@@ -6,6 +6,7 @@ |
#define CC_LAYERS_CONTENT_LAYER_CLIENT_H_ |
#include "cc/base/cc_export.h" |
+#include "cc/resources/display_item_list.h" |
class SkCanvas; |
@@ -27,6 +28,10 @@ class CC_EXPORT ContentLayerClient { |
const gfx::Rect& clip, |
GraphicsContextStatus gc_status) = 0; |
+ virtual scoped_refptr<DisplayItemList> PaintContentsToDisplayList( |
+ const gfx::Rect& clip, |
+ GraphicsContextStatus gc_status) = 0; |
+ |
// If true the layer may skip clearing the background before rasterizing, |
// because it will cover any uncleared data with content. |
virtual bool FillsBoundsCompletely() const = 0; |