Add DCHECKs for the touch selection menu runner singleton
commit20a7d9f7cf570609d5314fbc6ab3b1514b9e3308
authormohsen <mohsen@chromium.org>
Wed, 10 Jun 2015 16:58:40 +0000 (10 09:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 16:59:08 +0000 (10 16:59 +0000)
treef7e9d2bb65c02c3cd98806be0678bf13e72b73b2
parentafad64194903cd855acecbeb28c538d615b2571d
Add DCHECKs for the touch selection menu runner singleton

This is to ensure that there exists at most one instance of the menu
runner simultaneously. This fix is now possible because of the
ViewsDelegate refactoring.

BUG=399721,492991

Review URL: https://codereview.chromium.org/1173083002

Cr-Commit-Position: refs/heads/master@{#333747}
ui/touch_selection/touch_selection_menu_runner.cc