Clear up usage of Frame::IsAdRoot()
IsAdRoot() implies IsAdSubframe(). However, some callers check whether IsAdRoot() || IsAdSubframe(). This cl removes these redundant checks and adds documentation to the methods to clarify their meaning. Change-Id: I62a437dead30141854351f3c9e7aecf9ecceec75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550429Reviewed-by:Jochen Eisinger <jochen@chromium.org> Commit-Queue: Alex Turner <alexmt@chromium.org> Cr-Commit-Position: refs/heads/master@{#829675}
Showing
Please register or sign in to comment