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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTreeScopeResources.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/svg/SVGTreeScopeResources.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
index 9617851877e31b78a83c69b68631c2ae233c8ad2..e6b9c97957ccc00c98f18d355dc689667911860d 100644
--- a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp
@@ -64,7 +64,7 @@ LayoutSVGResourceContainer* SVGTreeScopeResources::resourceById(
const AtomicString& id) const {
if (id.isEmpty())
return nullptr;
- return m_resources.get(id);
+ return m_resources.at(id);
}
void SVGTreeScopeResources::addPendingResource(const AtomicString& id,
@@ -112,7 +112,7 @@ bool SVGTreeScopeResources::isElementPendingResource(
DCHECK(element);
if (!hasPendingResource(id))
return false;
- return m_pendingResources.get(id)->contains(element);
+ return m_pendingResources.at(id)->contains(element);
}
void SVGTreeScopeResources::clearHasPendingResourcesIfPossible(

Powered by Google App Engine
This is Rietveld 408576698