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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (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/dom/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 7950c0b649446db5c431f1712fc874ddaa956d0d..a9a87fb0165ac028837a37056ad0e4109c5296bb 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -388,7 +388,7 @@ const ActiveStyleSheetVector StyleEngine::activeStyleSheetsForInspector() {
}
void StyleEngine::shadowRootRemovedFromDocument(ShadowRoot* shadowRoot) {
- m_styleSheetCollectionMap.remove(shadowRoot);
+ m_styleSheetCollectionMap.erase(shadowRoot);
m_activeTreeScopes.remove(shadowRoot);
m_dirtyTreeScopes.remove(shadowRoot);
resetAuthorStyle(*shadowRoot);
« no previous file with comments | « third_party/WebKit/Source/core/dom/SpaceSplitString.cpp ('k') | third_party/WebKit/Source/core/dom/WeakIdentifierMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698