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

Unified Diff: chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc

Issue 2806863003: [Page Load Metrics] Structure PageLoadTiming. (Closed)
Patch Set: rebase Created 3 years, 8 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/browser/page_load_metrics/page_load_metrics_browsertest.cc
diff --git a/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc b/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
index b2b73b636921f4815fe25fbdded652a859aaeb71..8eb44f5206bafd412473576c44bfb8590ca59fa3 100644
--- a/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
+++ b/chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc
@@ -111,9 +111,10 @@ class TimingUpdatedObserver : public content::BrowserMessageFilter {
return true;
}
- if ((!(matching_fields_ & FIRST_PAINT) || timing.first_paint) &&
+ if ((!(matching_fields_ & FIRST_PAINT) ||
+ timing.paint_timing.first_paint) &&
(!(matching_fields_ & FIRST_CONTENTFUL_PAINT) ||
- timing.first_contentful_paint) &&
+ timing.paint_timing.first_contentful_paint) &&
(!(matching_fields_ & STYLE_UPDATE_BEFORE_FCP) ||
timing.style_sheet_timing.update_style_duration_before_fcp)) {
// Ensure that any other handlers of this message, for example the real

Powered by Google App Engine
This is Rietveld 408576698