| Index: components/autofill/content/browser/content_autofill_driver.cc
|
| diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc
|
| index ed4860c41c4950f551f7a83457684b3b12cb3780..4bb5301a5587deba10d17714280a3fb5490c7000 100644
|
| --- a/components/autofill/content/browser/content_autofill_driver.cc
|
| +++ b/components/autofill/content/browser/content_autofill_driver.cc
|
| @@ -42,13 +42,6 @@ ContentAutofillDriver::ContentAutofillDriver(
|
| enable_download_manager)),
|
| autofill_external_delegate_(autofill_manager_.get(), this) {
|
| autofill_manager_->SetExternalDelegate(&autofill_external_delegate_);
|
| -
|
| - // ContentAutofillDriver is guaranteed to outlive |render_frame_host|,
|
| - // as the ContentAutofillDriver instance will be destroyed in
|
| - // ContentAutofillDriverFactory::RenderFrameDeleted, which is a notification
|
| - // of |render_frame_host| destruction.
|
| - render_frame_host->GetServiceRegistry()->AddService(
|
| - base::Bind(&ContentAutofillDriver::BindRequest, base::Unretained(this)));
|
| }
|
|
|
| ContentAutofillDriver::~ContentAutofillDriver() {}
|
|
|