| Index: third_party/WebKit/LayoutTests/inspector/console/console-custom-formatters.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-custom-formatters.html b/third_party/WebKit/LayoutTests/inspector/console/console-custom-formatters.html
|
| index 19e2adc9cb56a1c71814071bad569613c96b7fb8..5dbce49173f050861f7d6572bf984f11d62c333d 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-custom-formatters.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-custom-formatters.html
|
| @@ -142,7 +142,8 @@ function test()
|
| var viewMessages = consoleView._visibleViewMessages;
|
| for (var i = 0; i < viewMessages.length; ++i) {
|
| var uiMessage = viewMessages[i];
|
| - var customElement = uiMessage.contentElement().querySelector("span /deep/ .custom-expandable-section-header");
|
| + var shadowRoot = uiMessage.contentElement().querySelector(".console-message-text *").shadowRoot;
|
| + var customElement = shadowRoot ? shadowRoot.querySelector(".custom-expandable-section-header") : null;
|
| if (customElement)
|
| customElement.click();
|
| }
|
|
|