commit | 4658f3f5b86ab1da34311121251581c42c9ff31f | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Fri Feb 01 15:57:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 01 15:57:01 2019 |
tree | ed9cb2349e033e5c8d4bb2c091bea0e91be71a60 | |
parent | fe4c2aff507ce20005141617b07a32e49db25304 [diff] |
Remove null-check for |delegate_| in RWHI::GetVisualProperties(). RenderWidgetHostImpl already checks for |delegate_| before calling the method. The other caller does so in the same stack that it uses the WebContents, which is the delegate. The delegate is removed only when the WebContents is destroyed, so we know it will be present in both cases. TBR=ajwong@chromium.org Change-Id: Ia0fe71c00a87bb92b22ebeff545762fbcf72848d Bug: 912193 Reviewed-on: https://chromium-review.googlesource.com/c/1443933 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Albert J. Wong <ajwong@chromium.org> Cr-Commit-Position: refs/heads/master@{#628349}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .