| Index: content/shell/browser/layout_test/blink_test_controller.cc
|
| diff --git a/content/shell/browser/layout_test/blink_test_controller.cc b/content/shell/browser/layout_test/blink_test_controller.cc
|
| index c2b441256a5d64d39da5391321a578275dc55a68..fcc342ad2ed1e5f64df21bcc6537ab729374e328 100644
|
| --- a/content/shell/browser/layout_test/blink_test_controller.cc
|
| +++ b/content/shell/browser/layout_test/blink_test_controller.cc
|
| @@ -721,8 +721,10 @@ void BlinkTestController::OnTestFinished() {
|
| }
|
|
|
| void BlinkTestController::OnAllServiceWorkersCleared() {
|
| - Send(new ShellViewMsg_Reset(
|
| - main_window_->web_contents()->GetRenderViewHost()->GetRoutingID()));
|
| + if (main_window_) {
|
| + Send(new ShellViewMsg_Reset(
|
| + main_window_->web_contents()->GetRenderViewHost()->GetRoutingID()));
|
| + }
|
| }
|
|
|
| void BlinkTestController::OnImageDump(const std::string& actual_pixel_hash,
|
|
|