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 b173fd247a04e1d35d341da8d99b880eee1d2210..ba2b2f186259415516b0dc7beaa1107cba9a1487 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
@@ -355,7 +355,7 @@ InspectorTest.dumpSelectedElementStyles = function(excludeComputed, excludeMatch |
InspectorTest.dumpComputedStyle(); |
for (var block of sectionBlocks) { |
for (var section of block.sections) { |
- if (section.rule() && excludeMatched) |
+ if (section.style().parentRule && excludeMatched) |
continue; |
if (section.element.previousSibling && section.element.previousSibling.className === "sidebar-separator") { |
var nodeDescription = ""; |