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

GTK Linux build fix: isDocumentRunningFullScreenAnimation should

be protected both by ENABLE(FULLSCREEN_API) && USE(ACCELERATED_COMPOSITING)

* page/FrameView.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5802e803
2011-01-07 Jer Noble <jer.noble@apple.com>
GTK Linux build fix: isDocumentRunningFullScreenAnimation should
be protected both by ENABLE(FULLSCREEN_API) && USE(ACCELERATED_COMPOSITING)
* page/FrameView.cpp:
2011-01-07 Rafael Weinstein <rafaelw@chromium.org>
Reviewed by Eric Seidel.
......
......@@ -529,7 +529,7 @@ void FrameView::calculateScrollbarModesForLayout(ScrollbarMode& hMode, Scrollbar
}
}
#if ENABLE(FULLSCREEN_API)
#if ENABLE(FULLSCREEN_API) && USE(ACCELERATED_COMPOSITING)
static bool isDocumentRunningFullScreenAnimation(Document* document)
{
return document->webkitIsFullScreen() && document->fullScreenRenderer() && document->fullScreenRenderer()->isAnimating();
......
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