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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.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/BarcodeDetector.cpp
diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
index 9f8beca22fe138b0f4f43d382b99b92d98f5083a..a78d39b6a019b5361e625f7d25576a391ae07491 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
@@ -51,7 +51,7 @@ void BarcodeDetector::onDetectBarcodes(
Vector<shape_detection::mojom::blink::BarcodeDetectionResultPtr>
barcodeDetectionResults) {
DCHECK(m_barcodeServiceRequests.contains(resolver));
- m_barcodeServiceRequests.remove(resolver);
+ m_barcodeServiceRequests.erase(resolver);
HeapVector<Member<DetectedBarcode>> detectedBarcodes;
for (const auto& barcode : barcodeDetectionResults) {

Powered by Google App Engine
This is Rietveld 408576698