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

Unified Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.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/core/imagebitmap/ImageBitmapFactories.cpp
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
index 2fa3ee226f9cb859e8a518b2a1087d949382bb2b..25f506b83aa45128f1a8ae2b4f01aefd364e3036 100644
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp
@@ -199,7 +199,7 @@ ImageBitmapFactories& ImageBitmapFactories::fromInternal(GlobalObject& object) {
}
void ImageBitmapFactories::addLoader(ImageBitmapLoader* loader) {
- m_pendingLoaders.add(loader);
+ m_pendingLoaders.insert(loader);
}
void ImageBitmapFactories::didFinishLoading(ImageBitmapLoader* loader) {

Powered by Google App Engine
This is Rietveld 408576698