Index: Source/core/rendering/RenderView.cpp |
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp |
index 4d6679191ec9b74c49a07dd0729c51a69b44a3fd..93c0639163291db3544a32750ec4d9d50cf31dc7 100644 |
--- a/Source/core/rendering/RenderView.cpp |
+++ b/Source/core/rendering/RenderView.cpp |
@@ -604,7 +604,7 @@ IntRect RenderView::selectionBounds(bool clipToVisibleContent) const |
selectedObjects.set(os, adoptPtr(new RenderSelectionInfo(os, clipToVisibleContent))); |
RenderBlock* cb = os->containingBlock(); |
while (cb && !cb->isRenderView()) { |
- OwnPtr<RenderSelectionInfo>& blockInfo = selectedObjects.add(cb, nullptr).iterator->value; |
+ OwnPtr<RenderSelectionInfo>& blockInfo = selectedObjects.add(cb, nullptr).storedValue->value; |
if (blockInfo) |
break; |
blockInfo = adoptPtr(new RenderSelectionInfo(cb, clipToVisibleContent)); |
@@ -732,7 +732,7 @@ void RenderView::setSelection(RenderObject* start, int startPos, RenderObject* e |
if (blockRepaintMode == RepaintNewXOROld) { |
RenderBlock* cb = os->containingBlock(); |
while (cb && !cb->isRenderView()) { |
- OwnPtr<RenderBlockSelectionInfo>& blockInfo = oldSelectedBlocks.add(cb, nullptr).iterator->value; |
+ OwnPtr<RenderBlockSelectionInfo>& blockInfo = oldSelectedBlocks.add(cb, nullptr).storedValue->value; |
if (blockInfo) |
break; |
blockInfo = adoptPtr(new RenderBlockSelectionInfo(cb)); |
@@ -787,7 +787,7 @@ void RenderView::setSelection(RenderObject* start, int startPos, RenderObject* e |
newSelectedObjects.set(o, adoptPtr(new RenderSelectionInfo(o, true))); |
RenderBlock* cb = o->containingBlock(); |
while (cb && !cb->isRenderView()) { |
- OwnPtr<RenderBlockSelectionInfo>& blockInfo = newSelectedBlocks.add(cb, nullptr).iterator->value; |
+ OwnPtr<RenderBlockSelectionInfo>& blockInfo = newSelectedBlocks.add(cb, nullptr).storedValue->value; |
if (blockInfo) |
break; |
blockInfo = adoptPtr(new RenderBlockSelectionInfo(cb)); |