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

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 a02f1b6e44f2adc4aad7baf91d1b639d9c0fd796..901efd0f0d9e68bb24baddec49c456e1f7599203 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js
@@ -133,7 +133,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