Some cleanup in FrameTestHelpers
While trying to remove WebLayerTreeView this file confused me greatly so try to simplify and clarify things a bit. TestWebViewWidgetClient was-a TestWebWidgetClient, but you can get a WebWidgetClient from a WebView directly by calling WidgetClient(), so no need for this adapter. AllowsBrokenNullLayerTreeView() is for when InitializeLayerTreeView() returns null, which these classes don't do, so remove it. R=dcheng@chromium.org Bug: 838693 Change-Id: I65c258d0eaedb55de70edecffa134f5bf050cb76 Reviewed-on: https://chromium-review.googlesource.com/1115901Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#570883}
Showing
Please register or sign in to comment