Index: components/autofill/core/browser/webdata/autocomplete_sync_bridge.h |
diff --git a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h |
index cd350bec3228bb71be9ed13ce486dc2c8a6d2164..2ec41c5ae51df413ba334337d69d5f735c7b063e 100644 |
--- a/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h |
+++ b/components/autofill/core/browser/webdata/autocomplete_sync_bridge.h |
@@ -9,6 +9,7 @@ |
#include <string> |
#include "base/macros.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/optional.h" |
#include "base/scoped_observer.h" |
#include "base/supports_user_data.h" |
@@ -39,7 +40,7 @@ class AutocompleteSyncBridge : public base::SupportsUserData::Data, |
AutofillWebDataService* web_data_service, |
AutofillWebDataBackend* web_data_backend); |
- static AutocompleteSyncBridge* FromWebDataService( |
+ static base::WeakPtr<syncer::ModelTypeSyncBridge> FromWebDataService( |
AutofillWebDataService* web_data_service); |
// syncer::ModelTypeSyncBridge implementation. |