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

Unified Diff: chrome/common/page_load_metrics/page_load_timing.cc

Issue 2039363003: FirstMeaningfulPaint UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready for review Created 4 years, 5 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: chrome/common/page_load_metrics/page_load_timing.cc
diff --git a/chrome/common/page_load_metrics/page_load_timing.cc b/chrome/common/page_load_metrics/page_load_timing.cc
index 4974384138a00527b8d3e4f0649e59f350a51d8e..f91e9031caeb7ff5cb5edf508c245d04c3534ae5 100644
--- a/chrome/common/page_load_metrics/page_load_timing.cc
+++ b/chrome/common/page_load_metrics/page_load_timing.cc
@@ -23,6 +23,8 @@ bool PageLoadTiming::operator==(const PageLoadTiming& other) const {
first_paint == other.first_paint &&
first_text_paint == other.first_text_paint &&
first_image_paint == other.first_image_paint &&
+ first_contentful_paint == other.first_contentful_paint &&
Bryan McQuade 2016/07/29 15:02:26 oh wow we weren't testing this in the equality imp
Bryan McQuade 2016/07/29 17:59:27 I landed a fix for this here: https://codereview.c
Kunihiko Sakamoto 2016/08/01 08:52:07 Done.
+ first_meaningful_paint == other.first_meaningful_paint &&
parse_start == other.parse_start && parse_stop == other.parse_stop &&
parse_blocked_on_script_load_duration ==
other.parse_blocked_on_script_load_duration &&

Powered by Google App Engine
This is Rietveld 408576698