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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/PropertyChangeHighlighter.js

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/Source/devtools/front_end/elements/PropertyChangeHighlighter.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/PropertyChangeHighlighter.js b/third_party/WebKit/Source/devtools/front_end/elements/PropertyChangeHighlighter.js
index de57722a787354922344448bd24d722324ba8977..3657439ce497d4d83c6d12ff2e23b8fe77a4ebd6 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/PropertyChangeHighlighter.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/PropertyChangeHighlighter.js
@@ -46,7 +46,7 @@ WebInspector.PropertyChangeHighlighter.prototype = {
var foundSection = null;
for (var block of sectionBlocks) {
for (var section of block.sections) {
- var declaration = section.styleRule.style();
+ var declaration = section.style();
if (declaration.styleSheetId !== this._styleSheetId)
continue;

Powered by Google App Engine
This is Rietveld 408576698