summaryrefslogtreecommitdiff
path: root/chromium/components/autofill_assistant/browser/script_tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill_assistant/browser/script_tracker.h')
-rw-r--r--chromium/components/autofill_assistant/browser/script_tracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/components/autofill_assistant/browser/script_tracker.h b/chromium/components/autofill_assistant/browser/script_tracker.h
index 373540bde93..bfb53e46789 100644
--- a/chromium/components/autofill_assistant/browser/script_tracker.h
+++ b/chromium/components/autofill_assistant/browser/script_tracker.h
@@ -176,7 +176,7 @@ class ScriptTracker : public ScriptExecutor::Listener {
// only occurse when |scripts_update| is not nullptr.
std::unique_ptr<std::vector<std::unique_ptr<Script>>> scripts_update_;
- base::WeakPtrFactory<ScriptTracker> weak_ptr_factory_;
+ base::WeakPtrFactory<ScriptTracker> weak_ptr_factory_{this};
DISALLOW_COPY_AND_ASSIGN(ScriptTracker);
};