Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 1ba1c37be97857a0af5a58294172928398765e58..746f5b2238afaa3cd488100c5766352251dcd909 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4708,9 +4708,6 @@ Vector<IconURL> Document::iconURLs(int iconTypesMask) |
Color Document::themeColor() const |
{ |
- if (!RuntimeEnabledFeatures::themeColorEnabled()) |
- return Color(); |
- |
for (HTMLMetaElement* metaElement = head() ? Traversal<HTMLMetaElement>::firstChild(*head()) : 0; metaElement; metaElement = Traversal<HTMLMetaElement>::nextSibling(*metaElement)) { |
RGBA32 rgb = Color::transparent; |
if (equalIgnoringCase(metaElement->name(), "theme-color") && CSSParser::parseColor(rgb, metaElement->content().string().stripWhiteSpace(), true)) |