Move the email regex from HTMLInputElement to DocumentData
This reduces the overall memory. And hopefully it could fix the regression introduced by https://chromium-review.googlesource.com/c/chromium/src/+/2324204, which could allocate a regex for every input element. Bug: 1116302 Change-Id: I00f1fa7ad07664d5ab799e760483034c1a1594fe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357464 Commit-Queue: Yao Xiao <yaoxia@chromium.org> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#802754}
Showing
Please register or sign in to comment