Index: Source/platform/graphics/GraphicsLayer.h |
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h |
index 5ad5db9706a847601c25880ddd83522a626ea1a0..4e73cb6ecc44aa3c70fbbde9c5f2575e01314597 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 17:28:32
Revert changes to this class, per earlier comments
pdr.
2015/08/13 20:55:00
These changes are needed for test coverage until w
|
+ const DisplayItemTransformTree* transformTree() const { return m_transformTree.get(); } |
+ |
// Exposed for tests. |
virtual WebLayer* contentsLayer() const { return m_contentsLayer; } |
@@ -357,6 +361,8 @@ private: |
int m_3dRenderingContext; |
OwnPtr<DisplayItemList> m_displayItemList; |
+ |
+ OwnPtr<const DisplayItemTransformTree> m_transformTree; |
}; |
} // namespace blink |