| Index: Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp
|
| index d1b49209c74095ab4657ae1c94ad65b1ed610740..317c71287a6133a4012288d93c6a2cec4f9de80f 100644
|
| --- a/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/Source/web/ContextMenuClientImpl.cpp
|
| @@ -159,7 +159,7 @@ static String selectMisspellingAsync(LocalFrame* selectedFrame, DocumentMarker&
|
|
|
| // Caret and range selections always return valid normalized ranges.
|
| RefPtrWillBeRawPtr<Range> selectionRange = selection.toNormalizedRange();
|
| - Vector<DocumentMarker*> markers = selectedFrame->document()->markers().markersInRange(selectionRange.get(), DocumentMarker::MisspellingMarkers());
|
| + WillBeHeapVector<DocumentMarker*> markers = selectedFrame->document()->markers().markersInRange(selectionRange.get(), DocumentMarker::MisspellingMarkers());
|
| if (markers.size() != 1)
|
| return String();
|
| marker = *markers[0];
|
|
|