| Index: third_party/WebKit/Source/devtools/front_end/network/NetworkTimeCalculator.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkTimeCalculator.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkTimeCalculator.js
|
| index 26006cd5b9a16e8595e733c9954b8f7071b53532..05ceea8e50a22e8772385dd9ca7995efdfe3ec72 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkTimeCalculator.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkTimeCalculator.js
|
| @@ -58,6 +58,8 @@ Network.NetworkTimeCalculator = class extends Common.Object {
|
| constructor(startAtZero) {
|
| super();
|
| this.startAtZero = startAtZero;
|
| + this._minimumBoundary = -1;
|
| + this._maximumBoundary = -1;
|
| this._boundryChangedEventThrottler = new Common.Throttler(0);
|
| /** @type {?Network.NetworkTimeBoundary} */
|
| this._window = null;
|
| @@ -143,8 +145,8 @@ Network.NetworkTimeCalculator = class extends Common.Object {
|
| }
|
|
|
| reset() {
|
| - delete this._minimumBoundary;
|
| - delete this._maximumBoundary;
|
| + this._minimumBoundary = -1;
|
| + this._maximumBoundary = -1;
|
| this._boundaryChanged();
|
| }
|
|
|
| @@ -296,7 +298,7 @@ Network.NetworkTimeCalculator = class extends Common.Object {
|
| var previousMinimumBoundary = this._minimumBoundary;
|
| var previousMaximumBoundary = this._maximumBoundary;
|
| const minOffset = Network.NetworkTimeCalculator._minimumSpread;
|
| - if (typeof this._minimumBoundary === 'undefined' || typeof this._maximumBoundary === 'undefined') {
|
| + if (this._minimumBoundary === -1 || this._maximumBoundary === -1) {
|
| this._minimumBoundary = timestamp;
|
| this._maximumBoundary = timestamp + minOffset;
|
| } else {
|
|
|