Index: Source/devtools/front_end/ui/Tooltip.js |
diff --git a/Source/devtools/front_end/ui/Tooltip.js b/Source/devtools/front_end/ui/Tooltip.js |
index 51322c3d91f7cee7f35db8632f3921f9eeca20b0..a0bc70ea02a32eb9d0c412bda9557773d5ca563f 100644 |
--- a/Source/devtools/front_end/ui/Tooltip.js |
+++ b/Source/devtools/front_end/ui/Tooltip.js |
@@ -132,12 +132,7 @@ WebInspector.Tooltip.installHandler = function(doc) |
*/ |
WebInspector.Tooltip.install = function(element, tooltipContent, actionId) |
{ |
- if (Runtime.experiments.isEnabled("tooltips") && typeof tooltipContent === "string" && tooltipContent === "") |
+ if (typeof tooltipContent === "string" && tooltipContent === "") |
return; |
- if (Runtime.experiments.isEnabled("tooltips")) |
- element[WebInspector.Tooltip._symbol] = { content: tooltipContent, actionId: actionId }; |
- else if (typeof tooltipContent === "string") |
- element.title = tooltipContent; |
- else |
- console.assert("Cannot set an element without custom tooltips enabled"); |
+ element[WebInspector.Tooltip._symbol] = { content: tooltipContent, actionId: actionId }; |
} |