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..118f798e368bb8822031c44f96576019cb3a4e96 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) |
dgozman
2015/11/07 03:00:53
style()
lushnikov
2015/11/07 03:09:24
Done.
|
continue; |
if (section.element.previousSibling && section.element.previousSibling.className === "sidebar-separator") { |
var nodeDescription = ""; |