| Index: Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
|
| index 3100784d640cb68e5955140628422d3cfd961715..f6f92c5e2d8bfe61a25dcf328f8f0943b5cf2f4e 100644
|
| --- a/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -332,8 +332,10 @@ private:
|
| int overrideWidth = effectiveEmulatedSize.width + scrollbarDimensions.width;
|
| int overrideHeight = effectiveEmulatedSize.height + scrollbarDimensions.height;
|
|
|
| - if (IntSize(overrideWidth, overrideHeight) != frameView->size())
|
| + if (IntSize(overrideWidth, overrideHeight) != frameView->size()) {
|
| frameView->resize(overrideWidth, overrideHeight);
|
| + frameView->setLayoutSize(IntSize(overrideWidth, overrideHeight));
|
| + }
|
|
|
| Document* doc = frameView->frame().document();
|
| doc->styleResolverChanged(RecalcStyleImmediately);
|
|
|