diff options
Diffstat (limited to 'chrome')
| -rw-r--r-- | chrome/test/ui/ui_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index 851a6c4..60d4f31 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -196,7 +196,8 @@ void UITestBase::ConnectToRunningBrowser() { } void UITestBase::CloseBrowserAndServer() { - launcher_->CloseBrowserAndServer(shutdown_type_); + if (launcher_.get()) + launcher_->CloseBrowserAndServer(shutdown_type_); } void UITestBase::LaunchBrowser(const CommandLine& arguments, |
