summaryrefslogtreecommitdiff
path: root/chromium/components/autofill_assistant/browser/element_precondition.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill_assistant/browser/element_precondition.cc')
-rw-r--r--chromium/components/autofill_assistant/browser/element_precondition.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/components/autofill_assistant/browser/element_precondition.cc b/chromium/components/autofill_assistant/browser/element_precondition.cc
index a4fee3d502e..45efbfd773c 100644
--- a/chromium/components/autofill_assistant/browser/element_precondition.cc
+++ b/chromium/components/autofill_assistant/browser/element_precondition.cc
@@ -17,8 +17,7 @@ ElementPrecondition::ElementPrecondition(
element_exists,
const google::protobuf::RepeatedPtrField<FormValueMatchProto>&
form_value_match)
- : form_value_match_(form_value_match.begin(), form_value_match.end()),
- weak_ptr_factory_(this) {
+ : form_value_match_(form_value_match.begin(), form_value_match.end()) {
for (const auto& element : element_exists) {
// TODO(crbug.com/806868): Check if we shouldn't skip the script when this
// happens.