Index: LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html |
diff --git a/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html b/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html |
index ff18b162fd500f0d99ab67c62ceadd2c7690d3e8..4f7435d0ded2f2ac70b6abb21cecbeb7e6482b37 100644 |
--- a/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html |
+++ b/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html |
@@ -15,7 +15,7 @@ function addStylesheet() |
function test() |
{ |
WebInspector.settings.cssSourceMapsEnabled.get = function() { return true; } |
- WebInspector.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, step1, this); |
+ InspectorTest.addSniffer(WebInspector.SASSSourceMapping.prototype, "_bindUISourceCode", step1); |
InspectorTest.evaluateInPage("addStylesheet()"); |
function step1() |