Index: third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
index 670ca2bb82a168b3dca10ec8711ad4a4a312ebf4..b770aea265b5d33b0b577fcd110f03b0f4b7c2cf 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/MetricsSidebarPane.js |
@@ -86,28 +86,12 @@ WebInspector.MetricsSidebarPane.prototype = { |
/** |
* @override |
*/ |
- onDOMModelChanged: function() |
- { |
- this.update(); |
- }, |
- |
- /** |
- * @override |
- */ |
onCSSModelChanged: function() |
{ |
this.update(); |
}, |
/** |
- * @override |
- */ |
- onFrameResizedThrottled: function() |
- { |
- this.update(); |
- }, |
- |
- /** |
* @param {!Map.<string, string>} style |
* @param {string} propertyName |
* @return {number} |
@@ -469,7 +453,7 @@ WebInspector.MetricsSidebarPane.prototype = { |
this.originalPropertyData = this.previousPropertyDataCandidate; |
if (typeof this._highlightMode !== "undefined") |
- this._node.highlight(this._highlightMode); |
+ this.node().highlight(this._highlightMode); |
if (commitEditor) |
this.update(); |