[BlackBerry] Show compositing on the Inspector timeline properly

https://bugs.webkit.org/show_bug.cgi?id=113416

Patch by Eli Fidler <efidler@blackberry.com> on 2013-03-27
Reviewed by Rob Buis.

The call to willComposite was too early and encompased the paint calls
as well.  Moving it lower will no longer encompass the paints.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7dfe1335
......@@ -5528,7 +5528,6 @@ bool WebPagePrivate::commitRootLayerIfNeeded()
return false;
}
willComposite();
m_needsCommit = false;
// We get here either due to the commit timer, which would have called
// render if a one shot sync was needed. Or we get called from render
......@@ -5545,6 +5544,7 @@ bool WebPagePrivate::commitRootLayerIfNeeded()
if (m_overlayLayer)
m_overlayLayer->platformLayer()->commitOnWebKitThread(scale);
willComposite();
// Stash the visible content rect according to webkit thread
// This is the rectangle used to layout fixed positioned elements,
// and that's what the layer renderer wants.
......
2013-03-27 Eli Fidler <efidler@blackberry.com>
[BlackBerry] Show compositing on the Inspector timeline properly
https://bugs.webkit.org/show_bug.cgi?id=113416
Reviewed by Rob Buis.
The call to willComposite was too early and encompased the paint calls
as well. Moving it lower will no longer encompass the paints.
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::commitRootLayerIfNeeded):
2013-03-27 Arvid Nilsson <anilsson@rim.com>
[BlackBerry] Populate the mime type of the WebContext for images
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment