summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebKit/android/nav/WebView.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp
index 577b7c6..945a785 100644
--- a/Source/WebKit/android/nav/WebView.cpp
+++ b/Source/WebKit/android/nav/WebView.cpp
@@ -1332,7 +1332,10 @@ bool scrollBy(int dx, int dy)
void setIsScrolling(bool isScrolling)
{
- m_glWebViewState->setIsScrolling(isScrolling);
+#if USE(ACCELERATED_COMPOSITING)
+ if (m_glWebViewState)
+ m_glWebViewState->setIsScrolling(isScrolling);
+#endif
}
bool hasCursorNode()