[DevTools] Fix crash in WebContentsImpl::ClearDeviceEmulationSize
We are accessing null RenderWidgetHostView. Also added a test which exposed an issue with emulation commands not being processed when crashed. Bug: 818573 Change-Id: Ife852d5323b56d2d08382ef865ac9bf51c5476ff Reviewed-on: https://chromium-review.googlesource.com/949725Reviewed-by:Pavel Feldman <pfeldman@chromium.org> Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#540998}
Showing
Please register or sign in to comment