Index: Source/devtools/front_end/network/NetworkTimeCalculator.js |
diff --git a/Source/devtools/front_end/network/NetworkTimeCalculator.js b/Source/devtools/front_end/network/NetworkTimeCalculator.js |
index fcb48d74167418718a0f0f3938c3f3251f449213..71d65cfd200e0ab78214f88e206bf8c47c1b279e 100644 |
--- a/Source/devtools/front_end/network/NetworkTimeCalculator.js |
+++ b/Source/devtools/front_end/network/NetworkTimeCalculator.js |
@@ -252,7 +252,17 @@ WebInspector.NetworkTimeCalculator.prototype = { |
_boundaryChanged: function() |
{ |
- this._boundryChangedEventThrottler.schedule(this.dispatchEventToListeners.bind(this, WebInspector.NetworkTimeCalculator.Events.BoundariesChanged)); |
+ this._boundryChangedEventThrottler.schedule(dispatchEvent.bind(this)); |
+ |
+ /** |
+ * @return {!Promise.<undefined>} |
+ * @this {WebInspector.NetworkTimeCalculator} |
+ */ |
+ function dispatchEvent() |
+ { |
+ this.dispatchEventToListeners(WebInspector.NetworkTimeCalculator.Events.BoundariesChanged); |
+ return Promise.resolve(); |
+ } |
}, |
/** |