Document::styleRecalc() and FrameView::layout() should be traced
https://bugs.webkit.org/show_bug.cgi?id=110646

Reviewed by Ojan Vafai.

Document::styleRecalc() and FrameView::layout() are key factors
for web page rendering performance. We should add TRACE_EVENT()
macros to these functions.

* dom/Document.cpp:
(WebCore::Document::recalcStyle):
* page/FrameView.cpp:
(WebCore::FrameView::layout):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix. Added missing #if PLATFORM(CHROMIUM).

* dom/Document.cpp:
(WebCore::Document::recalcStyle):
* page/FrameView.cpp:
(WebCore::FrameView::layout):

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