Index: components/autofill/core/browser/autofill_external_delegate.h |
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h |
index 8c3b63c627803f8adc68b189bee3b20814983c99..12b79c7a1fed6e50b48496a49540ec8659442af9 100644 |
--- a/components/autofill/core/browser/autofill_external_delegate.h |
+++ b/components/autofill/core/browser/autofill_external_delegate.h |
@@ -21,10 +21,6 @@ namespace gfx { |
class Rect; |
} |
-namespace content { |
-class WebContents; |
-} |
- |
namespace autofill { |
class AutofillDriver; |
@@ -103,8 +99,6 @@ class AutofillExternalDelegate |
const PasswordFormFillData& fill_data); |
protected: |
- content::WebContents* web_contents() { return web_contents_; } |
- |
base::WeakPtr<AutofillExternalDelegate> GetWeakPtr(); |
private: |
@@ -135,12 +129,9 @@ class AutofillExternalDelegate |
std::vector<base::string16>* autofill_icons, |
std::vector<int>* autofill_unique_ids); |
- // The web_contents associated with this delegate. |
- content::WebContents* web_contents_; // weak; owns me. |
AutofillManager* autofill_manager_; // weak. |
- // Provides driver-level context to the shared code of the component. Must |
- // outlive this object. |
+ // Provides driver-level context to the shared code of the component. |
AutofillDriver* autofill_driver_; // weak |
// Password Autofill manager, handles all password-related Autofilling. |