Index: Source/core/rendering/RenderNamedFlowThread.cpp |
diff --git a/Source/core/rendering/RenderNamedFlowThread.cpp b/Source/core/rendering/RenderNamedFlowThread.cpp |
index 34b3ba9c1aa500838887d90ccf8669c393e23597..8df2c921454f093ae06454453653b6fb352b487d 100644 |
--- a/Source/core/rendering/RenderNamedFlowThread.cpp |
+++ b/Source/core/rendering/RenderNamedFlowThread.cpp |
@@ -597,7 +597,7 @@ void RenderNamedFlowThread::getRanges(Vector<RefPtr<Range> >& rangeObjects, cons |
if (!contentNode->renderer()) |
continue; |
- RefPtr<Range> range = Range::create(&contentNode->document()); |
+ RefPtr<Range> range = Range::create(contentNode->document()); |
bool foundStartPosition = false; |
bool startsAboveRegion = true; |
bool endsBelowRegion = true; |
@@ -638,7 +638,7 @@ void RenderNamedFlowThread::getRanges(Vector<RefPtr<Range> >& rangeObjects, cons |
if (range->intersectsNode(node, IGNORE_EXCEPTION)) |
range->setEndBefore(node, IGNORE_EXCEPTION); |
rangeObjects.append(range->cloneRange(IGNORE_EXCEPTION)); |
- range = Range::create(&contentNode->document()); |
+ range = Range::create(contentNode->document()); |
startsAboveRegion = true; |
} else |
skipOverOutsideNodes = true; |