| Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
|
| index dd614cb20b3c3006b220eb193dec39fe61cea16e..4515bd07619bfc2867771c7dfc82bf9b357a334c 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
|
| @@ -940,7 +940,7 @@ InspectorTest.addNewRuleInStyleSheet = function(styleSheetHeader, selector, call
|
| InspectorTest.addNewRule = function(selector, callback)
|
| {
|
| // Click "Add new rule".
|
| - document.querySelector(".styles-pane-toolbar").shadowRoot.querySelector(".add-toolbar-item").click();
|
| + WebInspector.ElementsPanel.instance()._stylesSidebarToolbar.querySelector(".styles-pane-toolbar").shadowRoot.querySelector(".add-toolbar-item").click();
|
| InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, "_addBlankSection", onBlankSection.bind(null, selector, callback));
|
| }
|
|
|
|
|