Chromium Code Reviews| Index: Source/web/WebViewImpl.cpp |
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
| index 02f3e15eae35cc7fb3f648598f313663cb012b3a..6eb2a90527e8168d66ec8336fc6f94ae7b7154e9 100644 |
| --- a/Source/web/WebViewImpl.cpp |
| +++ b/Source/web/WebViewImpl.cpp |
| @@ -1619,6 +1619,9 @@ void WebViewImpl::resize(const WebSize& newSize) |
| if (pinchVirtualViewportEnabled()) |
| page()->frameHost().pinchViewport().setSize(m_size); |
| + |
| + if (page()->inspectorController().deviceEmulationEnabled() && mainFrameImpl()->frame()->document()) |
|
apavlov
2014/05/30 14:13:53
Not sure if it is worth it, but in our instrumenta
ojan
2014/05/31 05:32:39
+1. We don't have an official style rule around th
dgozman
2014/06/03 12:09:15
Done.
|
| + mainFrameImpl()->frame()->document()->mediaQueryAffectingValueChanged(); |
| } |
| if (settings()->viewportEnabled() && !m_fixedLayoutSizeLock) { |