| Index: Source/WebCore/testing/Internals.cpp
|
| ===================================================================
|
| --- Source/WebCore/testing/Internals.cpp (revision 99757)
|
| +++ Source/WebCore/testing/Internals.cpp (working copy)
|
| @@ -248,6 +248,16 @@
|
| document->settings()->setForceCompositingMode(enabled);
|
| }
|
|
|
| +void Internals::setEnableCompositingForScrollableFrames(Document* document, bool enabled, ExceptionCode& ec)
|
| +{
|
| + if (!document || !document->settings()) {
|
| + ec = INVALID_ACCESS_ERR;
|
| + return;
|
| + }
|
| +
|
| + document->settings()->setAcceleratedCompositingForScrollableFramesEnabled(enabled);
|
| +}
|
| +
|
| void Internals::setEnableScrollAnimator(Document* document, bool enabled, ExceptionCode& ec)
|
| {
|
| if (!document || !document->settings()) {
|
|
|