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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/FaceDetector.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/FaceDetector.cpp
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
index 1a57df46af85cc04fc3c17b741fe6ed4d2c0a9ac..ccda92aee396409b954fd96fae800b4bbc3663bf 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
@@ -46,7 +46,7 @@ ScriptPromise FaceDetector::doDetect(
NotSupportedError, "Face detection service unavailable."));
return promise;
}
- m_faceServiceRequests.add(resolver);
+ m_faceServiceRequests.insert(resolver);
m_faceService->Detect(std::move(sharedBufferHandle), imageWidth, imageHeight,
convertToBaseCallback(WTF::bind(
&FaceDetector::onDetectFaces, wrapPersistent(this),

Powered by Google App Engine
This is Rietveld 408576698