Commit e13253f4 authored by jer.noble@apple.com's avatar jer.noble@apple.com

Further build fixes. Add a ENABLE(FULLSCREEN_API) guard around

the implementation of requiresCompositingfForFullScreen.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForFullScreen):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 08429c96
2011-01-07 Jer Noble <jer.noble@apple.com>
Further build fixes. Add a ENABLE(FULLSCREEN_API) guard around
the implementation of requiresCompositingfForFullScreen.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresCompositingForFullScreen):
2011-01-07 Jer Noble <jer.noble@apple.com>
No review, build fix only. Removed parameter who was causing
......
......@@ -1325,7 +1325,11 @@ bool RenderLayerCompositor::requiresCompositingWhenDescendantsAreCompositing(Ren
bool RenderLayerCompositor::requiresCompositingForFullScreen(RenderObject* renderer) const
{
#if ENABLE(FULLSCREEN_API)
return renderer->isRenderFullScreen() && toRenderFullScreen(renderer)->isAnimating();
#else
return false;
#endif
}
// If an element has negative z-index children, those children render in front of the
......
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