| Index: Source/core/dom/TreeScope.cpp
|
| diff --git a/Source/core/dom/TreeScope.cpp b/Source/core/dom/TreeScope.cpp
|
| index 3e0494c950cca921f54a5a229db8d9b093f2b840..b3f2457b68d2fc72951efc9441436f1d2040b9b2 100644
|
| --- a/Source/core/dom/TreeScope.cpp
|
| +++ b/Source/core/dom/TreeScope.cpp
|
| @@ -309,7 +309,7 @@ Element* TreeScope::findAnchor(const String& name)
|
| {
|
| if (name.isEmpty())
|
| return 0;
|
| - if (Element* element = getElementById(name))
|
| + if (Element* element = getElementById(AtomicString(name)))
|
| return element;
|
| ASSERT(rootNode());
|
| for (Element* element = ElementTraversal::firstWithin(*rootNode()); element; element = ElementTraversal::next(*element)) {
|
|
|