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

Unified Diff: tracing/tracing/model/helpers/chrome_renderer_helper.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months 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: tracing/tracing/model/helpers/chrome_renderer_helper.html
diff --git a/tracing/tracing/model/helpers/chrome_renderer_helper.html b/tracing/tracing/model/helpers/chrome_renderer_helper.html
index 7f2ca3ef6946509fdf76f007b228e47479ce337a..03334afa2eb7b07bdc5aec4ef0d7e1fba9a89ac5 100644
--- a/tracing/tracing/model/helpers/chrome_renderer_helper.html
+++ b/tracing/tracing/model/helpers/chrome_renderer_helper.html
@@ -24,8 +24,9 @@ tr.exportTo('tr.model.helpers', function() {
return false;
});
- if (!process.name)
+ if (!process.name) {
process.name = ChromeRendererHelper.PROCESS_NAME;
+ }
}
@@ -77,8 +78,9 @@ tr.exportTo('tr.model.helpers', function() {
var eventDuration = getEventDuration(event);
var eventSelfTime = getEventSelfTime(event);
var eventEnd = eventStart + eventDuration;
- if (!range.intersectsExplicitRangeExclusive(eventStart, eventEnd))
+ if (!range.intersectsExplicitRangeExclusive(eventStart, eventEnd)) {
continue;
+ }
if (eventSelfTime === undefined) continue;
var title =
tr.e.chrome.ChromeUserFriendlyCategoryDriver.fromEvent(event);
« no previous file with comments | « tracing/tracing/model/helpers/chrome_process_helper.html ('k') | tracing/tracing/model/interaction_record_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698