Set non-empty main frame widget size in SimTest::SetUp()
Previously the main frame widget was 0x0, which was not realistic. Some tests relying on painting would fail if we didn't paint empty frames. Also modify NotifySwapTimesWebFrameWidgetTest to meet the requirement of cc for layer lists. Otherwise the cc would complain about incomplete paint property setup. Change-Id: I774b166dc96396706075fa7129e07337ba2a06c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2609913Reviewed-by:Stefan Zager <szager@chromium.org> Auto-Submit: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#840048}
Showing
Please register or sign in to comment