Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index b8ed71c2ffbf1b6a0f134acfbb9a14ffe50fc356..05d1fe6ce297ebed0e79d06e49db7813bac70be4 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1742,10 +1742,8 @@ void WebViewImpl::performResize() |
// and thus will not be invalidated in |FrameView::performPreLayoutTasks|. |
// Therefore we should force explicit media queries invalidation here. |
if (m_devToolsEmulator->deviceEmulationEnabled()) { |
- if (Document* document = mainFrameImpl()->frame()->document()) { |
- document->styleResolverChanged(); |
+ if (Document* document = mainFrameImpl()->frame()->document()) |
document->mediaQueryAffectingValueChanged(); |
- } |
} |
} |