Index: LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html |
diff --git a/LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html b/LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html |
index a4721bf62fa7ab2d342ffc69eba174e1a582c8a5..1d3a1cade5618b20e9ad302109ac008bba24cf42 100644 |
--- a/LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html |
+++ b/LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html |
@@ -32,7 +32,7 @@ function test() |
function step1() |
{ |
InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "_rebuildUpdate", rebuildUpdate); |
- WebInspector.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, attributeChanged, this); |
+ InspectorTest.domModel.addEventListener(WebInspector.DOMModel.Events.AttrModified, attributeChanged, this); |
// Click "Add new rule". |
document.getElementById("add-style-button-test-id").click(); |
InspectorTest.evaluateInPage("addStyleClass()", step2); |