• Scott Violet's avatar
    exo: removes unnecessary override of GetExtraHitTestShapeRects · db1f068d
    Scott Violet authored
    GetExtraHitTestShapeRects() is called solely from
    WindowTargeter::EventLocationInsideBounds(). As CustomTargeter completely
    overrides EventLocationInsideBounds() there is no need to also override
    GetExtraHitTestShapeRects(). This removes the unnecessary override.
    
    I'm also removing the implementation of Surface::GetHitTestShapeRects() to
    the test, as that is now the only place that needs to call it.
    
    BUG=878836
    TEST=covered by tests
    
    Change-Id: I75569904bdfe5bd4d4384436488e4cc0b224ee3d
    Reviewed-on: https://chromium-review.googlesource.com/1196913Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Commit-Queue: Scott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#587696}
    db1f068d
surface_unittest.cc 31.9 KB