Index: Source/devtools/front_end/elements/StylesPopoverHelper.js |
diff --git a/Source/devtools/front_end/elements/StylesPopoverHelper.js b/Source/devtools/front_end/elements/StylesPopoverHelper.js |
index 81e426d0b4451745195d272788631ec6724999ca..95e32e36df668e1edf88c268fd1d8f2c1bc5fe61 100644 |
--- a/Source/devtools/front_end/elements/StylesPopoverHelper.js |
+++ b/Source/devtools/front_end/elements/StylesPopoverHelper.js |
@@ -163,7 +163,7 @@ WebInspector.BezierPopoverIcon.prototype = { |
_createDOM: function(text) |
{ |
this._element = createElement("nobr"); |
- WebInspector.Tooltip.install(this._element, WebInspector.UIString("Open cubic bezier editor")); |
+ this._element.title = WebInspector.UIString("Open cubic bezier editor"); |
this._iconElement = this._element.createSVGChild("svg", "popover-icon bezier-icon"); |
this._iconElement.setAttribute("height", 10); |
@@ -237,7 +237,7 @@ WebInspector.ColorSwatchPopoverIcon = function(treeElement, stylesPopoverHelper, |
this._swatch.setColorText(colorText); |
this._swatch.setFormat(WebInspector.ColorSwatchPopoverIcon._colorFormat(this._swatch.color())); |
var shiftClickMessage = WebInspector.UIString("Shift + Click to change color format."); |
- WebInspector.Tooltip.install(this._swatch.iconElement(), WebInspector.UIString("Open color picker. %s", shiftClickMessage)); |
+ this._swatch.iconElement().title = WebInspector.UIString("Open color picker. %s", shiftClickMessage); |
this._swatch.iconElement().addEventListener("click", this._iconClick.bind(this)); |
this._contrastColor = null; |