Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / page / actions / scroll_bounce.js
index fbbf477..b41383c 100644 (file)
@@ -33,9 +33,9 @@
 
     var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element);
     var start_left =
-        rect.left + rect.width * this.options_.left_start_percentage;
+        rect.left + rect.width * this.options_.left_start_ratio;
     var start_top =
-        rect.top + rect.height * this.options_.top_start_percentage;
+        rect.top + rect.height * this.options_.top_start_ratio;
     chrome.gpuBenchmarking.scrollBounce(this.options_.direction,
                                         this.options_.distance,
                                         this.options_.overscroll,