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}
Showing
Please register or sign in to comment