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

Unified Diff: LayoutTests/inspector/elements/styles/paste-property.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/paste-property.html
diff --git a/LayoutTests/inspector/elements/styles/paste-property.html b/LayoutTests/inspector/elements/styles/paste-property.html
index 4f18f7ab7fd62b2b89f782463c0547aa02dad99f..3f854e029a535581d7881d4f2bdef07219091fcb 100644
--- a/LayoutTests/inspector/elements/styles/paste-property.html
+++ b/LayoutTests/inspector/elements/styles/paste-property.html
@@ -13,7 +13,7 @@ function test()
{
InspectorTest.addResult("Before pasting:");
InspectorTest.dumpSelectedElementStyles(true);
- var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
+ var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][1];
section.expand();
var treeElement = section.addNewBlankProperty(0);
@@ -25,7 +25,7 @@ function test()
InspectorTest.addResult("After pasting 'margin-left: 1px':");
InspectorTest.dumpSelectedElementStyles(true);
- var treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
+ var treeElement = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
pasteProperty(treeElement, "margin-top: 1px; color: red;", pasteOverExistingProperty);
}

Powered by Google App Engine
This is Rietveld 408576698