Index: Source/WebKit/chromium/src/WebFrameImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebFrameImpl.cpp (revision 81483) |
+++ Source/WebKit/chromium/src/WebFrameImpl.cpp (working copy) |
@@ -1531,6 +1531,9 @@ |
RefPtr<Range> searchRange(rangeOfContents(frame()->document())); |
+ Node* originalEndContainer = searchRange->endContainer(); |
+ int originalEndOffset = searchRange->endOffset(); |
+ |
ExceptionCode ec = 0, ec2 = 0; |
if (m_resumeScopingFromRange.get()) { |
// This is a continuation of a scoping operation that timed out and didn't |
@@ -1545,9 +1548,6 @@ |
} |
} |
- Node* originalEndContainer = searchRange->endContainer(); |
- int originalEndOffset = searchRange->endOffset(); |
- |
// This timeout controls how long we scope before releasing control. This |
// value does not prevent us from running for longer than this, but it is |
// periodically checked to see if we have exceeded our allocated time. |