Commit 7e5410ad authored by nsylvain@chromium.org's avatar nsylvain@chromium.org

Remove another instance of a dcheck when 'begin' is set incorrectly.

BUG=125273
TBR=jar

Review URL: http://codereview.chromium.org/10260003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134482 0039d316-1c4b-4281-b951-d872f2087c98
parent 96cdbc3d
......@@ -256,9 +256,12 @@ void PageLoadHistograms::Dump(WebFrame* frame) {
PLT_HISTOGRAM("PLT.CommitToFirstPaint", first_paint - commit);
}
if (!first_paint_after_load.is_null()) {
DCHECK(begin <= first_paint_after_load);
PLT_HISTOGRAM("PLT.BeginToFirstPaintAfterLoad",
first_paint_after_load - begin);
// 'first_paint_after_load' can be before 'begin' for an unknown reason.
// See bug http://crbug.com/125273 for details.
if (begin <= first_paint_after_load) {
PLT_HISTOGRAM("PLT.BeginToFirstPaintAfterLoad",
first_paint_after_load - begin);
}
DCHECK(commit <= first_paint_after_load);
PLT_HISTOGRAM("PLT.CommitToFirstPaintAfterLoad",
first_paint_after_load - commit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment