| Index: webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
|
| diff --git a/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc b/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
|
| index a49de0990e53bfb5772dfb439efe7d2803fb5d1d..51bb6216b549a597912bac50a108f7b17f37f8a8 100644
|
| --- a/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
|
| +++ b/webkit/renderer/compositor_bindings/web_compositor_support_impl.cc
|
| @@ -19,6 +19,7 @@
|
| #include "webkit/renderer/compositor_bindings/web_image_layer_impl.h"
|
| #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
|
| #include "webkit/renderer/compositor_bindings/web_nine_patch_layer_impl.h"
|
| +#include "webkit/renderer/compositor_bindings/web_scroll_offset_animation_curve_impl.h"
|
| #include "webkit/renderer/compositor_bindings/web_scrollbar_layer_impl.h"
|
| #include "webkit/renderer/compositor_bindings/web_solid_color_layer_impl.h"
|
| #include "webkit/renderer/compositor_bindings/web_transform_animation_curve_impl.h"
|
| @@ -40,6 +41,9 @@ using blink::WebScrollbar;
|
| using blink::WebScrollbarLayer;
|
| using blink::WebScrollbarThemeGeometry;
|
| using blink::WebScrollbarThemePainter;
|
| +#if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED
|
| +using blink::WebScrollOffsetAnimationCurve;
|
| +#endif
|
| using blink::WebSolidColorLayer;
|
| using blink::WebTransformAnimationCurve;
|
| using blink::WebTransformOperations;
|
| @@ -106,6 +110,15 @@ WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
|
| return new WebFloatAnimationCurveImpl();
|
| }
|
|
|
| +#if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED
|
| +WebScrollOffsetAnimationCurve*
|
| +WebCompositorSupportImpl::createScrollOffsetAnimationCurve(
|
| + blink::WebFloatPoint target_value,
|
| + blink::WebAnimationCurve::TimingFunctionType timing_function) {
|
| + return new WebScrollOffsetAnimationCurveImpl(target_value, timing_function);
|
| +}
|
| +#endif
|
| +
|
| WebTransformAnimationCurve*
|
| WebCompositorSupportImpl::createTransformAnimationCurve() {
|
| return new WebTransformAnimationCurveImpl();
|
|
|