Commit 4c831a9b authored by enne@google.com's avatar enne@google.com

[chromium] Revert accidentally removed chrome client compositing check

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

Reviewed by James Robinson.

This check was overzealously removed in r103968 as a part of
re-enabling compositing for RTL pages. Add it back.

* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::allowedCompositingTriggers):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a22a6952
2012-01-03 Adrienne Walker <enne@google.com>
[chromium] Revert accidentally removed chrome client compositing check
https://bugs.webkit.org/show_bug.cgi?id=75500
Reviewed by James Robinson.
This check was overzealously removed in r103968 as a part of
re-enabling compositing for RTL pages. Add it back.
* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::allowedCompositingTriggers):
2012-01-03 Jon Lee <jonlee@apple.com>
Leak of WebNotificationClient when page is destroyed
......
......@@ -895,6 +895,9 @@ void ChromeClientImpl::scheduleCompositingLayerSync()
ChromeClient::CompositingTriggerFlags ChromeClientImpl::allowedCompositingTriggers() const
{
if (!m_webView->allowsAcceleratedCompositing())
return 0;
CompositingTriggerFlags flags = 0;
Settings* settings = m_webView->page()->settings();
if (settings->acceleratedCompositingFor3DTransformsEnabled())
......
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