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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h

Issue 2799573003: Migrate WTF::HashCountedSet::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 8 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/HTMLFrameOwnerElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
index 850724654ba2889b784404438123fc769793c2d1..e221b8ea0203b4e1853d610461d638111bfb8871 100644
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h
@@ -141,7 +141,7 @@ class SubframeLoadingDisabler {
~SubframeLoadingDisabler() {
if (m_root)
- disabledSubtreeRoots().remove(m_root);
+ disabledSubtreeRoots().erase(m_root);
}
static bool canLoadFrame(HTMLFrameOwnerElement& owner) {

Powered by Google App Engine
This is Rietveld 408576698