Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1476)

Unified Diff: Source/core/page/Page.cpp

Issue 112653006: Make calls to AtomicString(const String&) explicit in page/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698