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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-update-links.html

Issue 1434613002: DevTools: kill WebInspector.StylesSectionModel class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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/inspector/elements/styles-4/styles-update-links.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-update-links.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-update-links.html
index d478a50e26f74936bc285982f3ce39e02cee6bd4..95c6fd8ff9f9c782061462201923d115f384cc2a 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-update-links.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-update-links.html
@@ -121,7 +121,7 @@ function test()
var rules = [];
for (var block of WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks) {
for (var section of block.sections) {
- var rule = section.rule();
+ var rule = section.style().parentRule;
if (rule)
rules.push(rule);
}

Powered by Google App Engine
This is Rietveld 408576698