Title: [96029] branches/chromium/835/Source/WebCore/dom/Range.cpp
Revision
96029
Author
[email protected]
Date
2011-09-26 16:20:47 -0700 (Mon, 26 Sep 2011)

Log Message

Merge 94512 - Unreviewed. Compile fix for r94511.

BUG=95360
Review URL: http://codereview.chromium.org/8048007

Modified Paths

Diff

Modified: branches/chromium/835/Source/WebCore/dom/Range.cpp (96028 => 96029)


--- branches/chromium/835/Source/WebCore/dom/Range.cpp	2011-09-26 23:13:07 UTC (rev 96028)
+++ branches/chromium/835/Source/WebCore/dom/Range.cpp	2011-09-26 23:20:47 UTC (rev 96029)
@@ -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())
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to