Chromium Code Reviews| Index: webkit/compositor_bindings/WebCompositorImpl.cpp |
| =================================================================== |
| --- webkit/compositor_bindings/WebCompositorImpl.cpp (revision 159486) |
| +++ webkit/compositor_bindings/WebCompositorImpl.cpp (working copy) |
| @@ -63,6 +63,12 @@ |
| CCSettings::setAcceleratedAnimationEnabled(enabled); |
| } |
| +void WebCompositor::setPageScalePinchZoomEnabled(bool enabled) |
| +{ |
| + ASSERT(!WebCompositorImpl::initialized()); |
| + CCSettings::setPageScalePinchZoomEnabled(enabled); |
| +} |
| + |
| void WebCompositorImpl::initialize(WebThread* implThread) |
| { |
| ASSERT(!s_initialized); |