| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index b336370eb2793954efeeb68add51e3a4f5c97b33..d357816ba721ebcc1d070eb8f9ee733a0c79bfbd 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -394,8 +394,10 @@ static bool isRecognizedTagName(const QualifiedName& tagName)
|
| {
|
| DEFINE_STATIC_LOCAL(HashSet<StringImpl*>, tagList, ());
|
| if (tagList.isEmpty()) {
|
| - const QualifiedName* const* tags = HTMLNames::getHTMLTags();
|
| - for (size_t i = 0; i < HTMLNames::HTMLTagsCount; i++) {
|
| + Vector<const QualifiedName*> tags;
|
| + HTMLNames::getHTMLTags(tags);
|
| + size_t HTMLTagsCount = tags.size();
|
| + for (size_t i = 0; i < HTMLTagsCount; ++i) {
|
| if (*tags[i] == bgsoundTag
|
| || *tags[i] == commandTag
|
| || *tags[i] == detailsTag
|
|
|