Index: Source/platform/graphics/GraphicsLayer.h |
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h |
index 2585a32eecb38174f962c75396cc9081965e39ef..b57049681317ead1bbd7a1b829bc0e9d84070f25 100644 |
--- a/Source/platform/graphics/GraphicsLayer.h |
+++ b/Source/platform/graphics/GraphicsLayer.h |
@@ -51,6 +51,7 @@ |
namespace blink { |
+class DisplayItemList; |
class FloatRect; |
class GraphicsContext; |
class GraphicsLayer; |
@@ -242,12 +243,16 @@ public: |
// WebLayerScrollClient implementation. |
virtual void didScroll() override; |
+ DisplayItemList& displayItemList(); |
+ |
protected: |
String debugName(WebLayer*) const; |
explicit GraphicsLayer(GraphicsLayerClient*); |
// GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends. |
friend class GraphicsLayerFactoryChromium; |
+ // for testing |
+ friend class FakeGraphicsLayerFactory; |
// Exposed for tests. |
virtual WebLayer* contentsLayer() const { return m_contentsLayer; } |
@@ -341,6 +346,8 @@ private: |
ScrollableArea* m_scrollableArea; |
GraphicsLayerDebugInfo m_debugInfo; |
int m_3dRenderingContext; |
+ |
+ OwnPtr<DisplayItemList> m_displayItemList; |
}; |
} // namespace blink |