Modify checkLayout to receive the log container as an optional parameter
https://bugs.webkit.org/show_bug.cgi?id=112793

Reviewed by Darin Adler.

Add a way to specify the container manually for checkLayout. This is helpful to measure regions for nested
named flows (and probably other cases as well).

* resources/check-layout.js: Added an optional parameter to window.checkLayout.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2][Win] Fix ASSERT(DeleteTimerQueueTimer...)
https://bugs.webkit.org/show_bug.cgi?id=116039

Reviewed by Benjamin Poulain.

According to the documentation, DeleteTimerQueueTimer can be expected to return
false with an ERROR_IO_PENDING error when called from the timer's callback.

* Platform/win/WorkQueueWin.cpp:
(WorkQueue::timerCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150068 268f45cc-cd09-0410-ab3c-d52691b4dbfc