Index: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js |
index b2c8e893b90c9c230474023c36f223ecaf6e84d9..7ed8b30423be3b80b3a89766b9c64061e4ec162d 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js |
@@ -681,13 +681,8 @@ Network.NetworkRequestNode = class extends Network.NetworkNode { |
* @return {boolean} |
*/ |
isNavigationRequest() { |
- return this._isNavigationRequest; |
- } |
- |
- markAsNavigationRequest() { |
- this._isNavigationRequest = true; |
- this.refresh(); |
- this._updateBackgroundColor(); |
+ var pageLoad = NetworkLog.networkLog.pageLoadForRequest(this._request); |
+ return pageLoad ? pageLoad.mainRequest === this._request : false; |
} |
/** |