Index: Source/web/WebDevToolsAgentImpl.cpp |
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp |
index 7ee0d7d73d2f3c33c1684cd06abf81e31dd51e96..d5018fc6bd931aef403190c542fb9b23ffce9ddc 100644 |
--- a/Source/web/WebDevToolsAgentImpl.cpp |
+++ b/Source/web/WebDevToolsAgentImpl.cpp |
@@ -609,6 +609,11 @@ void WebDevToolsAgentImpl::setScriptEnabled(bool enabled) |
m_pageAgent->setScriptEnabled(enabled); |
} |
+void WebDevToolsAgentImpl::setUseMobileViewportStyle(bool enabled) |
+{ |
+ m_pageAgent->setUseMobileViewportStyle(enabled); |
+} |
+ |
void WebDevToolsAgentImpl::setDeviceMetricsOverride(int width, int height, float deviceScaleFactor, bool mobile, bool fitWindow, float scale, float offsetX, float offsetY) |
{ |
if (!m_deviceMetricsEnabled) { |