Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
index ccb9c9db97d012019516e7c973800e4b14de05bd..e283ee7a67e7e81f5b6a8e2b09c0c4f7eaea24a7 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -2014,11 +2014,13 @@ WebInspector.StylePropertyTreeElement.prototype = { |
*/ |
_processBezier: function(text) |
{ |
- var geometry = WebInspector.Geometry.CubicBezier.parse(text); |
- if (!geometry || !this._editable()) |
+ if (!this._editable() || !WebInspector.Geometry.CubicBezier.parse(text)) |
return createTextNode(text); |
var swatchPopoverHelper = this._parentPane._swatchPopoverHelper; |
- return new WebInspector.BezierPopoverIcon(this, swatchPopoverHelper, text).element(); |
+ var swatch = WebInspector.BezierSwatch.create(); |
+ swatch.setText(text); |
+ new WebInspector.BezierPopoverIcon(this, swatchPopoverHelper, swatch); |
+ return swatch; |
}, |
/** |