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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js

Issue 2492343002: Devtools: Pretty print fix for CSS coverage decorations. (Closed)
Patch Set: Pretty print fix for CSS coverage decorations. Created 4 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/timeline/TimelineController.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
index ac9c4b86b7b861e1ba8dc6ed734112630df3092c..568137b4759c8ddad406057b7fe0f02ca3a9bdc5 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
@@ -132,7 +132,7 @@ Timeline.TimelineController = class {
var styleSheetHeader = cssModel.styleSheetHeaderForId(rule.styleSheetId);
var url = styleSheetHeader.sourceURL;
- Components.CoverageProfile.instance().appendUnusedRule(url, rule.range);
+ Components.CoverageProfile.instance().appendUnusedRule(url, Common.TextRange.fromObject(rule.range));
}
}

Powered by Google App Engine
This is Rietveld 408576698