Index: third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js |
index 3831e39dca6d283cbbcb7d21d8cca694e1c8d25c..fc944f399e5af24033b0bb280136bdcc6f696a89 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/console_model/ConsoleModel.js |
@@ -427,8 +427,8 @@ ConsoleModel.ConsoleMessage = class { |
this.scriptId = scriptId || null; |
this.workerId = workerId || null; |
- var networkManager = (runtimeModel && requestId) ? runtimeModel.target().model(SDK.NetworkManager) : null; |
- this.request = (networkManager && requestId) ? NetworkLog.networkLog.requestForId(networkManager, requestId) : null; |
+ var manager = runtimeModel ? runtimeModel.target().model(SDK.NetworkManager) : null; |
dgozman
2017/06/06 20:54:40
nit: what was the point of renaming the variable?
allada
2017/06/08 00:42:06
It was just so I could fit the line below on one l
|
+ this.request = (manager && requestId) ? NetworkLog.networkLog.requestByManagerAndId(manager, requestId) : null; |
if (this.request) { |
var initiator = this.request.initiator(); |