| Index: chrome/browser/extensions/api/passwords_private/passwords_private_event_router.cc
|
| diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.cc b/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.cc
|
| index 380e99ac88bcc5d7da218234202f7d2dc9ec6f4e..b5a22d8691241e90e2b6fa667d05d7bba23c8043 100644
|
| --- a/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.cc
|
| +++ b/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.cc
|
| @@ -74,8 +74,7 @@ void PasswordsPrivateEventRouter::OnPlaintextPasswordFetched(
|
| const std::string& username,
|
| const std::string& plaintext_password) {
|
| api::passwords_private::PlaintextPasswordEventParameters params;
|
| - // TODO(crbug.com/715866): use origins and URLs more consistently.
|
| - params.login_pair.urls.origin = GURL(origin_url).GetOrigin().spec();
|
| + params.login_pair.urls.origin = origin_url;
|
| params.login_pair.username = username;
|
| params.plaintext_password = plaintext_password;
|
|
|
|
|