Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
index 094659952fbaf0019f96101fdd31f91e2a2ee216..2ddfae0bedddfa5fafb0bdb00291efc012e79b47 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
@@ -224,7 +224,10 @@ class FakeProtocolClientWorker |
shell_integration::DefaultWebClientObserver* observer, |
const std::string& protocol, |
bool force_failure) |
- : shell_integration::DefaultProtocolClientWorker(observer, protocol), |
+ : shell_integration::DefaultProtocolClientWorker( |
+ observer, |
+ protocol, |
+ /*delete_observer*/ true), |
force_failure_(force_failure) {} |
private: |
@@ -242,7 +245,7 @@ class FakeProtocolClientWorker |
state)); |
} |
- void SetAsDefault(bool interactive_permitted) override { |
+ void SetAsDefault() override { |
BrowserThread::PostTask( |
BrowserThread::UI, FROM_HERE, |
base::Bind(&FakeProtocolClientWorker::OnSetAsDefaultAttemptComplete, |