| Index: Source/core/dom/NamedFlowCollection.cpp | 
| diff --git a/Source/core/dom/NamedFlowCollection.cpp b/Source/core/dom/NamedFlowCollection.cpp | 
| index 2b48c7be3d1b91f000f758d1d230de1cda3406c2..8dbbc647b6701ee0203a51cb169f97b4325a5a86 100644 | 
| --- a/Source/core/dom/NamedFlowCollection.cpp | 
| +++ b/Source/core/dom/NamedFlowCollection.cpp | 
| @@ -34,6 +34,7 @@ | 
| #include "core/dom/DOMNamedFlowCollection.h" | 
| #include "core/dom/Document.h" | 
| #include "core/inspector/InspectorInstrumentation.h" | 
| +#include "wtf/text/AtomicString.h" | 
| #include "wtf/text/StringHash.h" | 
| #include "wtf/text/WTFString.h" | 
|  | 
| @@ -59,7 +60,7 @@ Vector<RefPtr<NamedFlow> > NamedFlowCollection::namedFlows() | 
| return namedFlows; | 
| } | 
|  | 
| -NamedFlow* NamedFlowCollection::flowByName(const String& flowName) | 
| +NamedFlow* NamedFlowCollection::flowByName(const AtomicString& flowName) | 
| { | 
| NamedFlowSet::iterator it = m_namedFlows.find<NamedFlowHashTranslator>(flowName); | 
| if (it == m_namedFlows.end() || (*it)->flowState() == NamedFlow::FlowStateNull) | 
| @@ -68,7 +69,7 @@ NamedFlow* NamedFlowCollection::flowByName(const String& flowName) | 
| return *it; | 
| } | 
|  | 
| -PassRefPtr<NamedFlow> NamedFlowCollection::ensureFlowWithName(const String& flowName) | 
| +PassRefPtr<NamedFlow> NamedFlowCollection::ensureFlowWithName(const AtomicString& flowName) | 
| { | 
| NamedFlowSet::iterator it = m_namedFlows.find<NamedFlowHashTranslator>(flowName); | 
| if (it != m_namedFlows.end()) { | 
| @@ -117,15 +118,15 @@ PassRefPtr<DOMNamedFlowCollection> NamedFlowCollection::createCSSOMSnapshot() | 
| // The HashFunctions object used by the HashSet to compare between NamedFlows. | 
| // It is safe to set safeToCompareToEmptyOrDeleted because the HashSet will never contain null pointers or deleted values. | 
| struct NamedFlowCollection::NamedFlowHashFunctions { | 
| -    static unsigned hash(NamedFlow* key) { return DefaultHash<String>::Hash::hash(key->name()); } | 
| +    static unsigned hash(NamedFlow* key) { return DefaultHash<AtomicString>::Hash::hash(key->name()); } | 
| static bool equal(NamedFlow* a, NamedFlow* b) { return a->name() == b->name(); } | 
| static const bool safeToCompareToEmptyOrDeleted = true; | 
| }; | 
|  | 
| // The HashTranslator is used to lookup a NamedFlow in the set using a name. | 
| struct NamedFlowCollection::NamedFlowHashTranslator { | 
| -    static unsigned hash(const String& key) { return DefaultHash<String>::Hash::hash(key); } | 
| -    static bool equal(NamedFlow* a, const String& b) { return a->name() == b; } | 
| +    static unsigned hash(const AtomicString& key) { return DefaultHash<AtomicString>::Hash::hash(key); } | 
| +    static bool equal(NamedFlow* a, const AtomicString& b) { return a->name() == b; } | 
| }; | 
|  | 
| } // namespace WebCore | 
|  |