Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 925983002: PasswordAutofillAgent: only check visibility if needed (Closed)

Created:
5 years, 10 months ago by vabr (Chromium)
Modified:
5 years, 10 months ago
Reviewers:
Mike West
CC:
browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mkwst+watchlist-passwords_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PasswordAutofillAgent: only check visibility if needed PasswordAutofillAgent::SendPasswordForms is called twice during page load: On DidFinishDocumentLoad, when it is interested in parsed HTML forms, and on DidFinishLoad, when it is interested in those forms, which are also visible. Currently, the method does the visibility check all the times, and throuws out the result in the first situation. This is not only wasting computational resources, but possibly causing crashes due to not finished rendering computations. This CL fixes that, and only does the visibility check if needed. BUG=457243 Committed: https://crrev.com/ae130ef602aef780ed69597eb875dca2d904d473 Cr-Commit-Position: refs/heads/master@{#316218}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M components/autofill/content/renderer/password_autofill_agent.cc View 1 chunk +11 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
vabr (Chromium)
Hi Mike! Would you review another small CL for me please? Cheers, Vaclav
5 years, 10 months ago (2015-02-13 13:50:53 UTC) #2
Mike West
LGTM.
5 years, 10 months ago (2015-02-13 13:57:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/925983002/1
5 years, 10 months ago (2015-02-13 14:04:24 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-13 15:14:41 UTC) #6
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 15:15:43 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ae130ef602aef780ed69597eb875dca2d904d473
Cr-Commit-Position: refs/heads/master@{#316218}

Powered by Google App Engine
This is Rietveld 408576698