Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / cc / layers / painted_scrollbar_layer.cc
index f88951b..9c5ab88 100644 (file)
@@ -100,6 +100,7 @@ void PaintedScrollbarLayer::CalculateContentsScale(
     float ideal_contents_scale,
     float device_scale_factor,
     float page_scale_factor,
+    float maximum_animation_contents_scale,
     bool animating_transform_to_screen,
     float* contents_scale_x,
     float* contents_scale_y,
@@ -108,6 +109,7 @@ void PaintedScrollbarLayer::CalculateContentsScale(
       ClampScaleToMaxTextureSize(ideal_contents_scale),
       device_scale_factor,
       page_scale_factor,
+      maximum_animation_contents_scale,
       animating_transform_to_screen,
       contents_scale_x,
       contents_scale_y,