| Index: third_party/WebKit/Source/devtools/front_end/inline_editor/BezierUI.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/inline_editor/BezierUI.js b/third_party/WebKit/Source/devtools/front_end/inline_editor/BezierUI.js
|
| index 64873537c674b199f106bfb8b1c3aeb482339ef6..e03bdd7aabc75a495fde4a6167b3154fdce72ba5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/inline_editor/BezierUI.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/inline_editor/BezierUI.js
|
| @@ -21,7 +21,7 @@ InlineEditor.BezierUI = class {
|
| }
|
|
|
| /**
|
| - * @param {!Common.Geometry.CubicBezier} bezier
|
| + * @param {!UI.Geometry.CubicBezier} bezier
|
| * @param {!Element} path
|
| * @param {number} width
|
| */
|
| @@ -89,7 +89,7 @@ InlineEditor.BezierUI = class {
|
| }
|
|
|
| /**
|
| - * @param {?Common.Geometry.CubicBezier} bezier
|
| + * @param {?UI.Geometry.CubicBezier} bezier
|
| * @param {!Element} svg
|
| */
|
| drawCurve(bezier, svg) {
|
| @@ -107,13 +107,13 @@ InlineEditor.BezierUI = class {
|
|
|
| var curve = group.createSVGChild('path', 'bezier-path');
|
| var curvePoints = [
|
| - new Common.Geometry.Point(
|
| + new UI.Geometry.Point(
|
| bezier.controlPoints[0].x * width + this.radius,
|
| (1 - bezier.controlPoints[0].y) * height + this.radius + this.marginTop),
|
| - new Common.Geometry.Point(
|
| + new UI.Geometry.Point(
|
| bezier.controlPoints[1].x * width + this.radius,
|
| (1 - bezier.controlPoints[1].y) * height + this.radius + this.marginTop),
|
| - new Common.Geometry.Point(width + this.radius, this.marginTop + this.radius)
|
| + new UI.Geometry.Point(width + this.radius, this.marginTop + this.radius)
|
| ];
|
| curve.setAttribute(
|
| 'd', 'M' + this.radius + ',' + (height + this.radius + this.marginTop) + ' C' + curvePoints.join(' '));
|
|
|