Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 4ba3f0cac83701f6a1535202b38c4d5ba6022374..13adddc17742a6de24be7cbeacede37e8e914a24 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3244,7 +3244,7 @@ void WebViewImpl::spellingMarkers(WebVector<uint32_t>* markers) |
{ |
Vector<uint32_t> result; |
for (LocalFrame* frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) { |
- const Vector<DocumentMarker*>& documentMarkers = frame->document()->markers().markers(); |
+ const WillBeHeapVector<DocumentMarker*>& documentMarkers = frame->document()->markers().markers(); |
for (size_t i = 0; i < documentMarkers.size(); ++i) |
result.append(documentMarkers[i]->hash()); |
} |