Guard against no browser in the StopProfiling method.
commit299eb28875c6c9ede63b7095cb2896f94ba7e0f3
authorqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Oct 2013 15:02:33 +0000 (16 15:02 +0000)
committerqsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Oct 2013 15:02:33 +0000 (16 15:02 +0000)
tree8f5950051158084b30fa924cad7509f2f321e2e8
parent105c0a9e41740034caa3e02a9c7ce3a9f45e66a2
Guard against no browser in the StopProfiling method.

If the browser failed to be created, a second exception is raised when
telemetry tries to stop profilers. This CL fixes this by checking for
the browser before trying to stop profilers.

R=bulach@chromium.org
BUG=307672

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228917 0039d316-1c4b-4281-b951-d872f2087c98
tools/telemetry/telemetry/page/page_runner.py