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

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

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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 0f238a767eef0af890841ed96c3b16854b186c25..9f8beca22fe138b0f4f43d382b99b92d98f5083a 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
@@ -37,7 +37,7 @@ ScriptPromise BarcodeDetector::doDetect(
NotSupportedError, "Barcode detection service unavailable."));
return promise;
}
- m_barcodeServiceRequests.add(resolver);
+ m_barcodeServiceRequests.insert(resolver);
m_barcodeService->Detect(
std::move(sharedBufferHandle), imageWidth, imageHeight,
convertToBaseCallback(WTF::bind(&BarcodeDetector::onDetectBarcodes,

Powered by Google App Engine
This is Rietveld 408576698