DescriptionCall DOMWindow::finishedLoading from FrameLoader::checkLoadCompleteForThisFrame
Currently, calling DOMWindow::finishedLoading is called from DocumentLoader's
checkLoadComplete(), which is called from several different places. Just call
finishedLoading() once, from FrameLoader::checkLoadCompleteForThisFrame.
This also moves finishedLoading() to immediately after sending a didStopLoading
to the embedder. Because DOMWindow::finishedLoading's primary purpose is to
begin a page print, this ensures that print is not called until the embedder
has been notified that the load has stopped.
BUG=none, though the reorder might help resolve 365523
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172896
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|