Factor an AsyncScriptRunner out of Document
Created attachment 63749 [details] Patch
Attachment 63749 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebCore/dom/Document.h:51: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 63749 [details] Patch LGTM.
> WebCore/dom/Document.h:51: Code inside a namespace should not be indented. [whitespace/indent] [4] This is unavoidable. I added a forward decl in Document.h which is already indented.
> This is unavoidable. I added a forward decl in Document.h which is already indented. At some point we should bit the bullet and reformat this header.
> At some point we should bit the bullet and reformat this header. After this lands I'll put together a patch to fix all the style violations in Document.h.
Committed r64873: <http://trac.webkit.org/changeset/64873>