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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.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/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
index 984731ad183bfb040af56267ed74a04d6043a560..6e8a5cd4022250ee0f93ab8aebf72b179be895bd 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
@@ -258,7 +258,7 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(
crossThreadBind(updatePlaceholderImage, this->createWeakPtr(),
WTF::passed(std::move(dispatcherTaskRunner)),
m_placeholderCanvasId, std::move(image), resource.id));
- m_spareResourceLocks.add(m_nextResourceId);
+ m_spareResourceLocks.insert(m_nextResourceId);
commitTypeHistogram.count(commitType);

Powered by Google App Engine
This is Rietveld 408576698