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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.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/html/HTMLCanvasElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
index 363c577fb781308428af3b117f9023011c8558e7..084703a4cd27ac3ac695b4cbb24adcf7579c1a37 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
@@ -773,7 +773,7 @@ void HTMLCanvasElement::toBlob(BlobCallback* callback,
}
void HTMLCanvasElement::addListener(CanvasDrawListener* listener) {
- m_listeners.add(listener);
+ m_listeners.insert(listener);
}
void HTMLCanvasElement::removeListener(CanvasDrawListener* listener) {

Powered by Google App Engine
This is Rietveld 408576698