| Index: third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| index d887f9db3d5f8ef36cc7590c86847e4dc04d6fbb..1b365acb5211c0e22749de82f0ffd3c7c6251a1c 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp
|
| @@ -48,7 +48,7 @@ void TextDetector::onDetectText(
|
| Vector<shape_detection::mojom::blink::TextDetectionResultPtr>
|
| textDetectionResults) {
|
| DCHECK(m_textServiceRequests.contains(resolver));
|
| - m_textServiceRequests.remove(resolver);
|
| + m_textServiceRequests.erase(resolver);
|
|
|
| HeapVector<Member<DetectedText>> detectedText;
|
| for (const auto& text : textDetectionResults) {
|
|
|