Nowadays we throttle layer flushes. This code is unnecessary.
Created attachment 222321 [details] patch
Attachment 222321 [details] did not pass style-queue: ERROR: Source/WebCore/dom/Element.cpp:1221: Missing space after , [whitespace/comma] [3] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 222322 [details] another
https://trac.webkit.org/r162837
This patch appears to have introduced perf. regressions in html5-full-render and 3% regression in DoYouEvenBench: https://bugs.webkit.org/show_bug.cgi?id=127722