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

Issue 322783002: Initialize min/max record time to 0 instead of -1 or null (Closed)

Created:
6 years, 6 months ago by yurys
Modified:
6 years, 6 months ago
Reviewers:
caseq, alph, loislo
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

Initialize min/max record time to 0 instead of -1 or null This simplifies many boundary time computations all around the code. BUG=361045 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175801

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comment #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -31 lines) Patch
M Source/devtools/front_end/timeline/TimelineFlameChart.js View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/devtools/front_end/timeline/TimelineModel.js View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/devtools/front_end/timeline/TimelineOverviewPane.js View 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/timeline/TimelinePanel.js View 1 2 2 chunks +2 lines, -8 lines 0 comments Download
M Source/devtools/front_end/timeline/TimelineTracingView.js View 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/timeline/TimelineView.js View 2 chunks +4 lines, -8 lines 0 comments Download
M Source/devtools/front_end/timeline/TracingModel.js View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/devtools/front_end/timeline/TracingTimelineModel.js View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
yurys
6 years, 6 months ago (2014-06-09 09:21:13 UTC) #1
alph
lgtm https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js File Source/devtools/front_end/timeline/TimelineModel.js (right): https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js#newcode291 Source/devtools/front_end/timeline/TimelineModel.js:291: if ((!this._maximumRecordTime && endTime) || endTime > this._maximumRecordTime) ...
6 years, 6 months ago (2014-06-09 09:31:14 UTC) #2
yurys
https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js File Source/devtools/front_end/timeline/TimelineModel.js (right): https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js#newcode291 Source/devtools/front_end/timeline/TimelineModel.js:291: if ((!this._maximumRecordTime && endTime) || endTime > this._maximumRecordTime) On ...
6 years, 6 months ago (2014-06-09 09:46:08 UTC) #3
alph
https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js File Source/devtools/front_end/timeline/TimelineModel.js (right): https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js#newcode291 Source/devtools/front_end/timeline/TimelineModel.js:291: if ((!this._maximumRecordTime && endTime) || endTime > this._maximumRecordTime) On ...
6 years, 6 months ago (2014-06-09 10:09:19 UTC) #4
yurys
https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js File Source/devtools/front_end/timeline/TimelineModel.js (right): https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js#newcode291 Source/devtools/front_end/timeline/TimelineModel.js:291: if ((!this._maximumRecordTime && endTime) || endTime > this._maximumRecordTime) On ...
6 years, 6 months ago (2014-06-09 11:16:37 UTC) #5
loislo
On 2014/06/09 11:16:37, yurys wrote: > https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js > File Source/devtools/front_end/timeline/TimelineModel.js (right): > > https://codereview.chromium.org/322783002/diff/1/Source/devtools/front_end/timeline/TimelineModel.js#newcode291 > ...
6 years, 6 months ago (2014-06-09 11:49:42 UTC) #6
yurys
The CQ bit was checked by yurys@chromium.org
6 years, 6 months ago (2014-06-09 13:07:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yurys@chromium.org/322783002/20001
6 years, 6 months ago (2014-06-09 13:08:03 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-09 14:12:40 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/devtools/front_end/timeline/TimelinePanel.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-09 14:12:41 UTC) #10
yurys
The CQ bit was checked by yurys@chromium.org
6 years, 6 months ago (2014-06-09 14:22:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yurys@chromium.org/322783002/40001
6 years, 6 months ago (2014-06-09 14:23:02 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-09 15:24:21 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 16:00:19 UTC) #14
Message was sent while issue was closed.
Change committed as 175801

Powered by Google App Engine
This is Rietveld 408576698