Index: Source/core/editing/SpellCheckRequester.cpp |
diff --git a/Source/core/editing/SpellCheckRequester.cpp b/Source/core/editing/SpellCheckRequester.cpp |
index cc3181cfc337fbdd4971604feaaa253849565145..106ca4249f65fbbc2e0f61d33e1e68fc14842c9d 100644 |
--- a/Source/core/editing/SpellCheckRequester.cpp |
+++ b/Source/core/editing/SpellCheckRequester.cpp |
@@ -68,7 +68,7 @@ PassRefPtr<SpellCheckRequest> SpellCheckRequest::create(TextCheckingTypeMask tex |
if (!text.length()) |
return PassRefPtr<SpellCheckRequest>(); |
- const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument().markers()->markersInRange(checkingRange.get(), DocumentMarker::SpellCheckClientMarkers()); |
+ const Vector<DocumentMarker*>& markers = checkingRange->ownerDocument().markers().markersInRange(checkingRange.get(), DocumentMarker::SpellCheckClientMarkers()); |
Vector<uint32_t> hashes(markers.size()); |
Vector<unsigned> offsets(markers.size()); |
for (size_t i = 0; i < markers.size(); i++) { |
@@ -252,7 +252,7 @@ void SpellCheckRequester::didCheckSucceed(int sequence, const Vector<TextCheckin |
markers.remove(DocumentMarker::Spelling); |
if (!requestData.maskContains(TextCheckingTypeGrammar)) |
markers.remove(DocumentMarker::Grammar); |
- m_frame.document()->markers()->removeMarkers(m_processingRequest->checkingRange().get(), markers); |
+ m_frame.document()->markers().removeMarkers(m_processingRequest->checkingRange().get(), markers); |
} |
didCheck(sequence, results); |
} |