summaryrefslogtreecommitdiffstats
path: root/base/test
diff options
context:
space:
mode:
authorvabr <vabr@chromium.org>2015-02-13 07:14:35 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-13 15:15:33 +0000
commitae130ef602aef780ed69597eb875dca2d904d473 (patch)
tree399e1701478cc64746d45fed0ed6dc5a18c3339f /base/test
parent7ec5114efa5eada853c2ece5d6edb0fa4ce5611a (diff)
downloadchromium_src-ae130ef602aef780ed69597eb875dca2d904d473.zip
chromium_src-ae130ef602aef780ed69597eb875dca2d904d473.tar.gz
chromium_src-ae130ef602aef780ed69597eb875dca2d904d473.tar.bz2
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 Review URL: https://codereview.chromium.org/925983002 Cr-Commit-Position: refs/heads/master@{#316218}
Diffstat (limited to 'base/test')
0 files changed, 0 insertions, 0 deletions