Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: LayoutTests/inspector/elements/styles/style-update-during-selector-edit.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698