Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index f0fb1ef47a50cd0bb046257eba8f402f66b9460e..6a80ea83b7743cefae38c616fda676194709a613 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1591,7 +1591,9 @@ static PassRefPtr<NodeList> paintOrderList(Element* element, ExceptionCode& ec, |
return 0; |
} |
- return layer->paintOrderList(type); |
+ Vector<RefPtr<Node> > nodes; |
+ layer->computePaintOrderList(type, nodes); |
+ return StaticNodeList::adopt(nodes); |
} |
PassRefPtr<NodeList> Internals::paintOrderListBeforePromote(Element* element, ExceptionCode& ec) |