Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1264)

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js

Issue 2914033002: [Devtools] NetworkLogView now uses NetworkLog as source of truth. (Closed)
Patch Set: changes Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 09f65a37ac6b7df51a20302a6bb1687299acff31..cf48a0a515ff15a1c3dc7a5667b0db89ac9685e3 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;
}
/**

Powered by Google App Engine
This is Rietveld 408576698