commit | 0b128880e9a9cd602d3b76f4ac2a5d96e28523bb | [log] [tgz] |
---|---|---|
author | Charlie Harrison <csharrison@chromium.org> | Fri May 25 21:40:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 25 21:40:20 2018 |
tree | 5077b11c2f340f9d79d115330dd0fb1a59512149 | |
parent | e04ac9cea715469f0a2d5983cfb34c1c3d17161a [diff] |
Minor popup blocker cleanups This CL: 1. Stops null-checking the WebContents when considering to block popups. All callers pass in a valid contents already. 2. Tests the case when a caller calls ShowBlockedPopup with an invalid id. This seemed like a more reasonable API to be defensive with, but it wasn't tested. Bug: None Change-Id: I3913ed540b06f57e7fd31cae1f7da7de4da37dab Reviewed-on: https://chromium-review.googlesource.com/1073847 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#562022}
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 .