Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/passive-subresource-with-cert-errors.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/passive-subresource-with-cert-errors.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/passive-subresource-with-cert-errors.html |
index f1dbd39ce35d0bc6c1b7f6174a4bbd0be87556b8..4334b86074a3b44cf78f9738cc62b9c5cef21170 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/passive-subresource-with-cert-errors.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/passive-subresource-with-cert-errors.html |
@@ -10,7 +10,7 @@ function test() |
InspectorTest.mainTarget.model(Security.SecurityModel).dispatchEventToListeners(Security.SecurityModel.Events.SecurityStateChanged, new Security.PageSecurityState(Protocol.Security.SecurityState.None, true, [], insecureContentStatus, null)); |
- var request = new SDK.NetworkRequest(InspectorTest.mainTarget, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
+ var request = new SDK.NetworkRequest(InspectorTest.networkManager, InspectorTest.NetworkAgent, 0, "http://foo.test", "https://foo.test", 0, 0, null); |
InspectorTest.dispatchRequestFinished(request); |
var explanations = Security.SecurityPanel._instance()._mainView.contentElement.getElementsByClassName("security-explanation"); |