[WinCairo][WK1] Accelerated Compositing can't be disabled by using WebPreferences...
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2019 08:20:48 +0000 (08:20 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Sep 2019 08:20:48 +0000 (08:20 +0000)
commit497bc938b4ff24b45787b178f5814cc09f1d112d
tree5f631a992b48bd5ef42416043078a41a85786da7
parent08cd3669b3a4b12ee9b9e463626b33757a54ed64
[WinCairo][WK1] Accelerated Compositing can't be disabled by using WebPreferences::setAcceleratedCompositingEnabled
https://bugs.webkit.org/show_bug.cgi?id=201749

Reviewed by Don Olmstead.

WebPreferences::acceleratedCompositingEnabled always returned TRUE
for !USE(CA). It should reflect the pref value set by
setAcceleratedCompositingEnabled.

* WebPreferences.cpp:
(WebPreferences::initializeDefaultSettings): Set kCFBooleanTrue to WebKitAcceleratedCompositingEnabledPreferenceKey even for !USE(CG).
(WebPreferences::acceleratedCompositingEnabled): Return the pref value for !USE(CA).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKitLegacy/win/ChangeLog
Source/WebKitLegacy/win/WebPreferences.cpp