Make it harder to construct the wrong kind of WebFrameWidget.
Current, there's a different internal implementation of WebFrameWidget for main frames, to disguise the fact that WebView happens to be a WebWidget as well. Rather than exposing this implementation detail, just make the Create() function do the right thing. TBR=thestig@chromium.org Change-Id: Ic6c5701953b16350ddbc927fb6355956d5724b54 Reviewed-on: https://chromium-review.googlesource.com/538737 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#480299}
Showing
Please register or sign in to comment