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

Unified Diff: tracing/tracing/model/timed_event.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/timed_event.html
diff --git a/tracing/tracing/model/timed_event.html b/tracing/tracing/model/timed_event.html
index aef562064a0a83a6f4f16eea617a90fbe470c156..c7ec3c0006f2c17787660684f42264414f857c25 100644
--- a/tracing/tracing/model/timed_event.html
+++ b/tracing/tracing/model/timed_event.html
@@ -46,8 +46,9 @@ tr.exportTo('tr.model', function() {
// Returns true if 'that' TimedEvent is fully contained within 'this' timed
// event.
bounds: function(that, opt_precisionUnit) {
- if (opt_precisionUnit === undefined)
+ if (opt_precisionUnit === undefined) {
opt_precisionUnit = tr.b.TimeDisplayModes.ms;
+ }
var startsBefore = opt_precisionUnit.roundedLess(that.start, this.start);
var endsAfter = opt_precisionUnit.roundedLess(this.end, that.end);
« no previous file with comments | « tracing/tracing/model/time_to_object_instance_map.html ('k') | tracing/tracing/model/user_model/animation_expectation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698