| Index: Source/core/html/HTMLMetaElement-in.cpp
|
| diff --git a/Source/core/html/HTMLMetaElement-in.cpp b/Source/core/html/HTMLMetaElement-in.cpp
|
| index fd9e353afa4d63c2ccb7186f2f5cdab4b83309b2..0a2a1cd4a5484bb75487bdbe408157bd76c30bf7 100644
|
| --- a/Source/core/html/HTMLMetaElement-in.cpp
|
| +++ b/Source/core/html/HTMLMetaElement-in.cpp
|
| @@ -24,8 +24,11 @@
|
| #include "core/html/HTMLMetaElement.h"
|
|
|
| #include "HTMLNames.h"
|
| +#include "RuntimeEnabledFeatures.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/frame/LocalFrame.h"
|
| #include "core/frame/Settings.h"
|
| +#include "core/loader/FrameLoaderClient.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -471,6 +474,8 @@ void HTMLMetaElement::process()
|
| processViewportContentAttribute("width=device-width", ViewportDescription::HandheldFriendlyMeta);
|
| else if (equalIgnoringCase(nameValue, "mobileoptimized"))
|
| processViewportContentAttribute("width=device-width, initial-scale=1", ViewportDescription::MobileOptimizedMeta);
|
| + else if (RuntimeEnabledFeatures::brandColorEnabled() && equalIgnoringCase(nameValue, "brand-color") && document().frame())
|
| + document().frame()->loader().client()->dispatchDidChangeBrandColor();
|
| }
|
|
|
| // Get the document to process the tag, but only if we're actually part of DOM
|
|
|