Index: Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/Source/platform/graphics/GraphicsLayer.cpp b/Source/platform/graphics/GraphicsLayer.cpp |
index 4a23d1162426e4df41d773dd2853d9f9f27bde96..f20d03489e7bfe94129626029395605a634bc83c 100644 |
--- a/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1135,6 +1135,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) |
{ |
@@ -1168,6 +1173,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 |