RenderViewImpl: remove FromWebView
Redirect usage in render_view_browsertest.cc through RenderFrameImpl and render_view(). Despite the comment on render_view() about it being temporary, this path is much more commonly used than FromWebView(). Move the definition up a level directly to RenderView. Still investigating other uses. The goal is to remove anything which relies on global variables so that RenderViews can be frozen/throttled independently. Bug: 1098157 Change-Id: I9fe0c180f305e6d2fa8a302231be8d4529f48192 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259674 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#793531}
Showing
Please register or sign in to comment