Index: Source/web/WebSettingsImpl.cpp |
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp |
index 68045444a28ad53885233f0d6e4c1f125957ca0f..8bfedb43168e8e37939daf5c10064954f8bb50fc 100644 |
--- a/Source/web/WebSettingsImpl.cpp |
+++ b/Source/web/WebSettingsImpl.cpp |
@@ -763,4 +763,12 @@ void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) |
m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
} |
+void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
+{ |
+ if (m_devToolsAgent) |
+ m_devToolsAgent->setUseMobileViewportStyle(enabled); |
+ else |
+ m_settings->setUseMobileViewportStyle(enabled); |
+} |
+ |
} // namespace blink |