Index: Source/core/css/resolver/ViewportStyleResolver.cpp |
diff --git a/Source/core/css/resolver/ViewportStyleResolver.cpp b/Source/core/css/resolver/ViewportStyleResolver.cpp |
index 7ab40abd6cb4bdb80c63dfdd5d21689d978e1f50..b957c9742d34d79b1cb381f26c32ce3a9e045605 100644 |
--- a/Source/core/css/resolver/ViewportStyleResolver.cpp |
+++ b/Source/core/css/resolver/ViewportStyleResolver.cpp |
@@ -60,12 +60,7 @@ void ViewportStyleResolver::collectViewportRules() |
CSSDefaultStyleSheets& defaultStyleSheets = CSSDefaultStyleSheets::instance(); |
collectViewportRules(defaultStyleSheets.defaultStyle(), UserAgentOrigin); |
- bool useMobileViewportStyle = m_document->settings() && m_document->settings()->useMobileViewportStyle(); |
-#if OS(ANDROID) |
- // FIXME: Remove when useMobileViewportStyle is set from chromium. |
- useMobileViewportStyle = true; |
-#endif |
- if (useMobileViewportStyle) |
+ if (m_document->settings() && m_document->settings()->useMobileViewportStyle()) |
collectViewportRules(defaultStyleSheets.defaultMobileViewportStyle(), UserAgentOrigin); |
if (m_document->isMobileDocument()) |