[Code cleanup] Remove num_of_active_touches_for_test function
We have num_of_active_touches_for_test in both TouchActionFilter and InputRouterImpl class which are used in InputRouterImplTest only. This CL makes InputRouterImplTest a friend class to TouchActionFilter so that we can just access its private member. This CL is a code cleanup, there is no behavior change introduced. Bug: None Change-Id: I768a5e293f5c16d1f1d39af7e2abf161f35e669d Reviewed-on: https://chromium-review.googlesource.com/1246274Reviewed-by:Sahel Sharify <sahel@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#595167}
Showing
Please register or sign in to comment