Index: Source/core/page/Page.cpp |
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp |
index 2030795e5eb6584c15fcd4400bcc3b572517c5dd..411ad0bb01ece25b6655d08e20f096c9acf292b2 100644 |
--- a/Source/core/page/Page.cpp |
+++ b/Source/core/page/Page.cpp |
@@ -490,7 +490,7 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType) |
mainFrame()->document()->updateViewportDescription(); |
break; |
case SettingsDelegate::MediaTypeChange: |
- m_mainFrame->view()->setMediaType(settings().mediaTypeOverride()); |
+ m_mainFrame->view()->setMediaType(AtomicString(settings().mediaTypeOverride())); |
setNeedsRecalcStyleInAllFrames(); |
break; |
case SettingsDelegate::DNSPrefetchingChange: |