| Index: Source/core/html/DocumentNameCollection.cpp
|
| diff --git a/Source/core/html/DocumentNameCollection.cpp b/Source/core/html/DocumentNameCollection.cpp
|
| index e4606e018b3d5b3064e15830047b573dcd23f60f..aa24a27d7312fdbdff7a42f43326f3d1ff3c4f11 100644
|
| --- a/Source/core/html/DocumentNameCollection.cpp
|
| +++ b/Source/core/html/DocumentNameCollection.cpp
|
| @@ -16,7 +16,7 @@ DocumentNameCollection::DocumentNameCollection(ContainerNode& document, const At
|
| {
|
| }
|
|
|
| -bool DocumentNameCollection::elementMatches(const Element& element) const
|
| +bool DocumentNameCollection::elementMatches(const HTMLElement& element) const
|
| {
|
| // Match images, forms, applets, embeds, objects and iframes by name,
|
| // applets and object by id, and images by id but only if they have
|
|
|