Chromium Code Reviews| Index: Source/platform/graphics/GraphicsLayer.h |
| diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h |
| index 5ad5db9706a847601c25880ddd83522a626ea1a0..10b2c83ab0b8bcededd5cf14eed88e373e972a08 100644 |
| --- a/Source/platform/graphics/GraphicsLayer.h |
| +++ b/Source/platform/graphics/GraphicsLayer.h |
| @@ -39,6 +39,7 @@ |
| #include "platform/graphics/PaintInvalidationReason.h" |
| #include "platform/graphics/filters/FilterOperations.h" |
| #include "platform/graphics/paint/DisplayItemClient.h" |
| +#include "platform/graphics/paint/DisplayItemTransformTree.h" |
| #include "platform/transforms/TransformationMatrix.h" |
| #include "public/platform/WebCompositorAnimationDelegate.h" |
| #include "public/platform/WebContentLayer.h" |
| @@ -248,6 +249,9 @@ public: |
| DisplayItemList* displayItemList() override; |
| + void setTransformTree(PassOwnPtr<const DisplayItemTransformTree> transformTree) { m_transformTree = transformTree; } |
|
chrishtr
2015/08/13 21:33:16
Revert this file.
pdr.
2015/08/14 00:10:29
Done
|
| + const DisplayItemTransformTree* transformTree() const { return m_transformTree.get(); } |
| + |
| // Exposed for tests. |
| virtual WebLayer* contentsLayer() const { return m_contentsLayer; } |
| @@ -357,6 +361,10 @@ private: |
| int m_3dRenderingContext; |
| OwnPtr<DisplayItemList> m_displayItemList; |
| + |
| + // TODO(pdr): This is only temporarily on GraphicsLayer and will be moving |
| + // to RenderSurfaceLayerList in a followup patch. |
| + OwnPtr<const DisplayItemTransformTree> m_transformTree; |
| }; |
| } // namespace blink |