| Index: components/arc/test/fake_arc_bridge_bootstrap.cc
|
| diff --git a/components/arc/test/fake_arc_bridge_bootstrap.cc b/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| index cd05697100f6719767cca27677a7695af94e2821..c9b8dc27d9d9f4b5b077b7e33a5f2982cbbb2f08 100644
|
| --- a/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| +++ b/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| @@ -28,11 +28,13 @@ void FakeArcBridgeBootstrap::Start() {
|
| void FakeArcBridgeBootstrap::Stop() {
|
| DCHECK(delegate_);
|
| instance_->Unbind();
|
| - delegate_->OnStopped();
|
| + delegate_->OnStopped(StopReason::NO_ERROR);
|
| }
|
|
|
| -void FakeArcBridgeBootstrap::OnCrashed() {
|
| - Stop();
|
| +void FakeArcBridgeBootstrap::OnCrashed(StopReason reason) {
|
| + DCHECK(delegate_);
|
| + instance_->Unbind();
|
| + delegate_->OnStopped(reason);
|
| }
|
|
|
| } // namespace arc
|
|
|