Index: sky/engine/core/rendering/RenderBox.h |
diff --git a/sky/engine/core/rendering/RenderBox.h b/sky/engine/core/rendering/RenderBox.h |
index f83578c03095947043a6963fc3284e6e3757e507..164571212f2260ef54ba17bbae4be4fe255dd46e 100644 |
--- a/sky/engine/core/rendering/RenderBox.h |
+++ b/sky/engine/core/rendering/RenderBox.h |
@@ -450,6 +450,8 @@ public: |
bool hasSameDirectionAs(const RenderBox* object) const { return style()->direction() == object->style()->direction(); } |
+ void setCustomPainting(PassRefPtr<DisplayList> customPainting) { m_customPainting = customPainting; } |
+ |
protected: |
virtual void willBeDestroyed() override; |
@@ -569,6 +571,7 @@ protected: |
OwnPtr<TransformationMatrix> m_transform; |
private: |
+ RefPtr<DisplayList> m_customPainting; |
OwnPtr<RenderLayer> m_layer; |
OwnPtr<RenderBoxRareData> m_rareData; |
}; |