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..8230cdbf80ab26c8eca430da01d9a9a898254aba 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::SHUTDOWN); |
} |
-void FakeArcBridgeBootstrap::OnCrashed() { |
- Stop(); |
+void FakeArcBridgeBootstrap::OnStopped(StopReason reason) { |
+ DCHECK(delegate_); |
+ instance_->Unbind(); |
+ delegate_->OnStopped(reason); |
} |
} // namespace arc |