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

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

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase 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/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index dbc53e9642bcbc5f9f9b1076b440d06449d88e6a..d0ffaa7c23026c9136ff9444e9a64db9f8c7634f 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -1386,7 +1386,7 @@ void Document::addStyleReattachData(const Node& node,
}
StyleReattachData Document::getStyleReattachData(const Node& node) const {
- return m_styleReattachDataMap.get(&node);
+ return m_styleReattachDataMap.at(&node);
}
/*
@@ -6601,7 +6601,7 @@ DEFINE_TRACE_WRAPPERS(Document) {
// Cannot trace in Supplementable<Document> as it is part of platform/ and
// thus cannot refer to ScriptWrappableVisitor.
visitor->traceWrappers(
- static_cast<FontFaceSet*>(Supplementable<Document>::m_supplements.get(
+ static_cast<FontFaceSet*>(Supplementable<Document>::m_supplements.at(
FontFaceSet::supplementName())));
ContainerNode::traceWrappers(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698