Index: Source/devtools/front_end/elements/ComputedStyleWidget.js |
diff --git a/Source/devtools/front_end/elements/ComputedStyleWidget.js b/Source/devtools/front_end/elements/ComputedStyleWidget.js |
index a7b22b5a652a361f83e31a42f5a2cb69722fcbe2..f56fa0a0ca156f63c1c18b422f028e0d59a597af 100644 |
--- a/Source/devtools/front_end/elements/ComputedStyleWidget.js |
+++ b/Source/devtools/front_end/elements/ComputedStyleWidget.js |
@@ -108,17 +108,16 @@ WebInspector.ComputedStyleWidget.prototype = { |
/** |
* @override |
- * @param {!WebInspector.Throttler.FinishCallback} finishedCallback |
+ * @return {!Promise.<?>} |
*/ |
- doUpdate: function(finishedCallback) |
+ doUpdate: function() |
{ |
var promises = [ |
this._sharedModel.fetchComputedStyle(), |
this._stylesSidebarPane.fetchMatchedCascade() |
]; |
- Promise.all(promises) |
- .spread(this._innerRebuildUpdate.bind(this)) |
- .then(finishedCallback); |
+ return Promise.all(promises) |
+ .spread(this._innerRebuildUpdate.bind(this)); |
}, |
/** |