Wrap static_cast in GetOverlayWindow() getter
Introduce a GetOverlayWindow() getter that returns the overlay window object cast to the intended type OverlayWindowViews. This avoids a fair amount of repetition in the test. No functionality change. Bug: 985303 Change-Id: I0e1a4a510e9703b1480480bcadc2c75070ba7b7e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575022 Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#834663}
Showing
Please register or sign in to comment