WebCore:
Improve layout scheduling and add instrumentation for debugging layout scheduling
Reviewed by kocienda
* khtml/khtml_part.cpp:
(KHTMLPart::slotFinishedParsing):
(KHTMLPart::checkCompleted):
* khtml/khtmlview.cpp:
(KHTMLViewPrivate::KHTMLViewPrivate):
(KHTMLViewPrivate::reset):
(KHTMLView::layout):
(KHTMLView::scheduleRelayout):
(KHTMLView::haveDelayedLayoutScheduled):
(KHTMLView::unscheduleRelayout):
* khtml/khtmlview.h:
* khtml/rendering/render_object.cpp:
(RenderObject::repaintAfterLayoutIfNeeded):
* khtml/rendering/render_replaced.cpp:
(RenderWidget::updateWidgetPositions):
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::DocumentImpl):
(DocumentImpl::close):
(DocumentImpl::setParsing):
(DocumentImpl::shouldScheduleLayout):
(DocumentImpl::minimumLayoutDelay):
(DocumentImpl::elapsedTime):
(DocumentImpl::finishParsing):
(DocumentImpl::updateStyleSelector):
* khtml/xml/dom_docimpl.h:
(DOM::DocumentImpl::allDataReceived):
* kwq/KWQDateTime.h:
* kwq/KWQDateTime.mm:
(QTime::elapsed):
* kwq/KWQWidget.mm:
(QWidget::setFrameGeometry):
WebKit:
Improve layout scheduling.
Reviewed by kocienda
* WebView.subproj/WebFrame.m:
(-[WebFrame _transitionToLayoutAcceptable]):
(-[WebFrame _checkLoadCompleteForThisFrame]):
* WebView.subproj/WebHTMLRepresentation.m:
(-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6631
268f45cc-cd09-0410-ab3c-
d52691b4dbfc