Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index 323ad972e7a0d41b2f92641a5a294a193663a975..14d8978b517fafaa7431cf8c4849a310f66f9abf 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -285,10 +285,7 @@ const AtomicString& StyleSheetContents::determineNamespace(const AtomicString& p |
return nullAtom; // No namespace. If an element/attribute has a namespace, we won't match it. |
if (prefix == starAtom) |
return starAtom; // We'll match any namespace. |
- PrefixNamespaceURIMap::const_iterator it = m_namespaces.find(prefix); |
- if (it == m_namespaces.end()) |
- return nullAtom; |
- return it->value; |
+ return m_namespaces.get(prefix); |
} |
void StyleSheetContents::parseAuthorStyleSheet(const CSSStyleSheetResource* cachedStyleSheet, const SecurityOrigin* securityOrigin) |