Index: Source/devtools/front_end/sdk/DOMModel.js |
diff --git a/Source/devtools/front_end/sdk/DOMModel.js b/Source/devtools/front_end/sdk/DOMModel.js |
index 67ff9868119695c850412d178e69878edebf5e4d..645e32f0bf227bcdf2eaa95ed490234378fe346d 100644 |
--- a/Source/devtools/front_end/sdk/DOMModel.js |
+++ b/Source/devtools/front_end/sdk/DOMModel.js |
@@ -1733,9 +1733,7 @@ WebInspector.DOMModel.prototype = { |
highlightDOMNodeForTwoSeconds: function(nodeId) |
{ |
this.highlightDOMNode(nodeId); |
- |
- if (!Runtime.experiments.isEnabled("layoutEditor")) |
- this._hideDOMNodeHighlightTimeout = setTimeout(WebInspector.DOMModel.hideDOMNodeHighlight.bind(WebInspector.DOMModel), 2000); |
+ this._hideDOMNodeHighlightTimeout = setTimeout(WebInspector.DOMModel.hideDOMNodeHighlight.bind(WebInspector.DOMModel), 2000); |
}, |
/** |
@@ -1798,7 +1796,6 @@ WebInspector.DOMModel.prototype = { |
highlightConfig.eventTargetColor = WebInspector.Color.PageHighlight.EventTarget.toProtocolRGBA(); |
highlightConfig.shapeColor = WebInspector.Color.PageHighlight.Shape.toProtocolRGBA(); |
highlightConfig.shapeMarginColor = WebInspector.Color.PageHighlight.ShapeMargin.toProtocolRGBA(); |
- highlightConfig.showLayoutEditor = Runtime.experiments.isEnabled("layoutEditor"); |
highlightConfig.displayAsMaterial = Runtime.experiments.isEnabled("materialDesign"); |
} |
return highlightConfig; |