Adjust code to look for the HTML element, not the document
This was a mistake in the previous patch. When walking up the DOM tree, we don't encounter the document object directly (this is different than the layout tree). Bug: 1129979 Change-Id: Ib6b7040e2a54658948d0830230d7a8ebeba44b8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2446517Reviewed-by:Scott Little <sclittle@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#813389}
Showing
Please register or sign in to comment