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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js

Issue 1434613002: DevTools: kill WebInspector.StylesSectionModel class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: 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 = "";

Powered by Google App Engine
This is Rietveld 408576698