| Index: Source/WebCore/dom/Range.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/Range.cpp (revision 96028)
|
| +++ Source/WebCore/dom/Range.cpp (working copy)
|
| @@ -58,8 +58,6 @@
|
| static WTF::RefCountedLeakCounter rangeCounter("Range");
|
| #endif
|
|
|
| -typedef Vector<RefPtr<Node> > NodeVector;
|
| -
|
| inline Range::Range(PassRefPtr<Document> ownerDocument)
|
| : m_ownerDocument(ownerDocument)
|
| , m_start(m_ownerDocument)
|
| @@ -671,6 +669,8 @@
|
|
|
| PassRefPtr<DocumentFragment> Range::processContents(ActionType action, ExceptionCode& ec)
|
| {
|
| + typedef Vector<RefPtr<Node> > NodeVector;
|
| +
|
| RefPtr<DocumentFragment> fragment;
|
| if (action == EXTRACT_CONTENTS || action == CLONE_CONTENTS)
|
| fragment = DocumentFragment::create(m_ownerDocument.get());
|
| @@ -865,6 +865,8 @@
|
|
|
| PassRefPtr<Node> Range::processAncestorsAndTheirSiblings(ActionType action, Node* container, ContentsProcessDirection direction, PassRefPtr<Node> passedClonedContainer, Node* commonRoot, ExceptionCode& ec)
|
| {
|
| + typedef Vector<RefPtr<Node> > NodeVector;
|
| +
|
| RefPtr<Node> clonedContainer = passedClonedContainer;
|
| Vector<RefPtr<Node> > ancestors;
|
| for (ContainerNode* n = container->parentNode(); n && n != commonRoot; n = n->parentNode())
|
|
|