| Index: Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
|
| index 452c9c17859528dda71436da251db4b33f73bab5..c65338583d630cf358d36dc8efd4a1cd84c3c145 100644
|
| --- a/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -324,7 +324,7 @@ bool WebDevToolsAgentImpl::handleInputEvent(WebCore::Page* page, const WebInputE
|
|
|
| void WebDevToolsAgentImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow)
|
| {
|
| - if (!width && !height) {
|
| + if (!width && !height && !deviceScaleFactor) {
|
| if (m_deviceMetricsEnabled) {
|
| m_deviceMetricsEnabled = false;
|
| m_webViewImpl->setBackgroundColorOverride(Color::transparent);
|
|
|