tablet: Replace redundant if statement with DCHECK
Concerning TabletModeController, the if statement at the beginning of SetTabletModeEnabledInternal checks the same condition as the if statement in UpdateUiTabletState. It does not need to be checked twice. Bug: None Change-Id: I2e69c1f34c476f819ed42aa5dd66f46f1022d8e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090206 Commit-Queue: Avery Musbach <amusbach@chromium.org> Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#747936}
Showing
Please register or sign in to comment