Remove a NOTREACHED() that was causing a dialog box during unit tests, hence
making it timeout on the test bot. Also simplify the test code.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@546 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed