Typing in Safari's unified field causes unnecessary web content repaints.
Created attachment 202768 [details] Patch Give WebCore::Page the ability to count the number of times a string occurs in the page without painting anything.
Comment on attachment 202768 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=202768&action=review r=me. Looks like this is covered by the WebKit2.Find API test, so I assume this test still passes after this change. > Source/WebCore/page/Page.h:414 > + unsigned findMatchesForText(const String&, FindOptions, unsigned maxMatchCount, bool shouldHighlight, bool markMatches); You could use enums for shouldHighlight and markMatches for some added readability at call sites of this function.
Comment on attachment 202768 [details] Patch Clearing flags on attachment: 202768 Committed r150633: <http://trac.webkit.org/changeset/150633>
All reviewed patches have been landed. Closing bug.