| Index: third_party/WebKit/Source/web/WebViewImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| index 8222c42af9b5d445d1ad9018ad01c5aba5b363c4..fc4e911fddbe0a260f794548cdb7ed500d6ded23 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -1848,16 +1848,6 @@ void WebViewImpl::performResize()
|
| if (!mainFrameImpl()->frameView()->needsLayout())
|
| postLayoutResize(mainFrameImpl());
|
| }
|
| -
|
| - // When device emulation is enabled, device size values may change - they are
|
| - // usually set equal to the view size. These values are not considered viewport-dependent
|
| - // (see MediaQueryExp::isViewportDependent), since they are only viewport-dependent in emulation mode,
|
| - // and thus will not be invalidated in |FrameView::performPreLayoutTasks|.
|
| - // Therefore we should force explicit media queries invalidation here.
|
| - if (m_devToolsEmulator->resizeIsDeviceSizeChange()) {
|
| - if (Document* document = mainFrameImpl()->frame()->document())
|
| - document->mediaQueryAffectingValueChanged();
|
| - }
|
| }
|
|
|
| void WebViewImpl::setTopControlsHeight(float height, bool topControlsShrinkLayoutSize)
|
|
|