Index: WebKit/chromium/src/ChromeClientImpl.cpp |
=================================================================== |
--- WebKit/chromium/src/ChromeClientImpl.cpp (revision 73142) |
+++ WebKit/chromium/src/ChromeClientImpl.cpp (working copy) |
@@ -807,9 +807,12 @@ |
m_webView->setRootLayerNeedsDisplay(); |
} |
-bool ChromeClientImpl::allowsAcceleratedCompositing() const |
+ChromeClient::CompositingTriggerFlags ChromeClientImpl::allowedCompositingTriggers() const |
{ |
- return m_webView->allowsAcceleratedCompositing(); |
+ if (!m_webView->allowsAcceleratedCompositing()) |
+ return 0; |
+ |
+ return ChromeClient::AllTriggers; |
} |
#endif |