Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html |
index 8fe7b30fecd9c4c103de68338a66f44e7ad993ec..c4b68f1fd66cb8c5ac2dced75aa1e530f6a80d57 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html |
@@ -21,11 +21,11 @@ function addStylesheet() |
function test() |
{ |
InspectorTest.evaluateInPage("addStylesheet()"); |
- InspectorTest.addSniffer(WebInspector.CSSWorkspaceBinding.prototype, "pushSourceMapping", sourceMappingSniffer, true); |
+ InspectorTest.addSniffer(WebInspector.CSSWorkspaceBinding.prototype, "updateLocations", sourceMappingSniffer, true); |
- function sourceMappingSniffer(header, sourceMapping) |
+ function sourceMappingSniffer(header) |
{ |
- if (sourceMapping instanceof WebInspector.SASSSourceMapping) { |
+ if (header.resourceURL().includes("selector-line-deprecated.css")) { |
InspectorTest.selectNodeAndWaitForStyles("inspected", step2); |
} |
} |