Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1615)

Unified Diff: third_party/WebKit/Source/modules/shapedetection/TextDetector.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698