| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index ae10e588352f077617ba975d5c8d6045cbea3f19..1e9bb8fa4c41ae69bd3eaf95dc8c8c2e123fbcc6 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -68,6 +68,7 @@
|
| #include "TypeConversions.h"
|
| #include "ViewportArguments.h"
|
| #include "WorkerThread.h"
|
| +#include "core/dom/StaticNodeList.h"
|
| #include "core/editing/Editor.h"
|
| #include "core/editing/SpellChecker.h"
|
| #include "core/editing/TextIterator.h"
|
| @@ -1558,7 +1559,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)
|
|
|