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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 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/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index d49d6886364f464618900d7fae09e86ef7cf3251..d2e25128ac7772c8c9745be734316a470ceae592 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -417,7 +417,7 @@ void GraphicsLayer::unregisterContentsLayer(WebLayer* layer) {
DCHECK(s_registeredLayerSet);
if (!s_registeredLayerSet->contains(layer->id()))
CRASH();
- s_registeredLayerSet->remove(layer->id());
+ s_registeredLayerSet->erase(layer->id());
}
void GraphicsLayer::setContentsTo(WebLayer* layer) {

Powered by Google App Engine
This is Rietveld 408576698