Commit 94e9dd4f authored by Maxim Kolosovskiy's avatar Maxim Kolosovskiy Committed by Commit Bot

[Autofill Assistant] Initialized |password_manager_client_| in Autobot's

client

The field should be initialized with nullptr.

Bug: 1057608
Change-Id: I6d5eb00858f4998f0b67f87ab219646c3eaa9681
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106069
Commit-Queue: Clemens Arbesser <arbesser@google.com>
Reviewed-by: default avatarClemens Arbesser <arbesser@google.com>
Auto-Submit: Maxim Kolosovskiy <kolos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751318}
parent fc17a30f
......@@ -140,11 +140,14 @@ class ClientAndroid : public Client,
WEB_CONTENTS_USER_DATA_KEY_DECL();
content::WebContents* web_contents_;
// Once initialized, the |password_manager_client_| is available while
// |web_contents_| is available.
mutable password_manager::PasswordManagerClient* password_manager_client_ =
nullptr;
base::android::ScopedJavaGlobalRef<jobject> java_object_;
std::unique_ptr<Controller> controller_;
mutable std::unique_ptr<WebsiteLoginFetcher> website_login_fetcher_;
mutable password_manager::PasswordManagerClient* password_manager_client_;
// True if Start() was called. This turns on the tracking of dropouts.
bool started_ = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment