Add DCHECK to MaskedViewTargeter::GetHitTestMask() overrides
Add DCHECK_EQ(view, masked_view()) to the overrides of
MaskedViewTargeter::GetHitTestMask(). This is to ensure
the function is only called with |view| corresponding
to the view on which the targeter is installed.
This is nice to have because GetHitTestMask()
is called directly from a few places such as
overrides of View::GetHitTestMask() and (soon)
from within TabCloseButtonTargeter; see issue
377557.
BUG=377527
TEST=none
Review URL: https://codereview.chromium.org/
308003019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274852 0039d316-1c4b-4281-b951-d872f2087c98