Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index e6dbfcfa5d3ef0c9990da1cbdc53db548afa5da4..cf3780950e0a2389f001f5de9b0b6cb0aa3a9bbf 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1112,6 +1112,11 @@ void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip) |
paintGraphicsLayerContents(context, clip); |
} |
+void GraphicsLayer::paint(GraphicsContext& context) |
+{ |
+ // TODO(chrishtr: fix this rect to instead derive interest rect during paint (crbug.com/486603). |
+ paintGraphicsLayerContents(context, LayoutRect::infiniteIntRect()); |
+} |
void GraphicsLayer::notifyAnimationStarted(double monotonicTime, int group) |
{ |
@@ -1145,6 +1150,27 @@ DisplayItemList* GraphicsLayer::displayItemList() |
return m_displayItemList.get(); |
} |
+const DisplayItemTransformTree* GraphicsLayer::transformTree() const |
+{ |
+ // Should be returning a web version of the transfor tree instead. |
+ return 0; |
+} |
+ |
+void GraphicsLayer::setTransformTree(PassOwnPtr<const DisplayItemTransformTree> transformTree) |
+{ |
+ m_transformTree = transformTree; |
+} |
+ |
+const DisplayList* GraphicsLayer::displayList() const |
+{ |
+ return m_displayList.get(); |
+} |
+ |
+void GraphicsLayer::setDisplayList(PassOwnPtr<DisplayList> displayList) |
+{ |
+ m_displayList = displayList; |
+} |
+ |
} // namespace blink |
#ifndef NDEBUG |