| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 6a5b9bcf31e799520804c94872110366626298c6..3db7d47193f78059d23ee8b87b56404b767b8399 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -4355,10 +4355,8 @@ Vector<IconURL> Document::iconURLs(int iconTypesMask)
|
| continue;
|
| if (linkElement->href().isEmpty())
|
| continue;
|
| -#if !ENABLE(TOUCH_ICON_LOADING)
|
| - if (linkElement->iconType() != Favicon)
|
| + if (!RuntimeEnabledFeatures::touchIconLoadingEnabled() && linkElement->iconType() != Favicon)
|
| continue;
|
| -#endif
|
|
|
| IconURL newURL(linkElement->href(), linkElement->iconSizes(), linkElement->type(), linkElement->iconType());
|
| if (linkElement->iconType() == Favicon) {
|
|
|