Index: chrome/browser/metrics/first_web_contents_profiler.cc |
diff --git a/chrome/browser/metrics/first_web_contents_profiler.cc b/chrome/browser/metrics/first_web_contents_profiler.cc |
index ae97bac1bed4d80caea5663f85161163524bca7c..0433d251c18f437304eec67a51ea16c2a5945af5 100644 |
--- a/chrome/browser/metrics/first_web_contents_profiler.cc |
+++ b/chrome/browser/metrics/first_web_contents_profiler.cc |
@@ -12,6 +12,8 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_iterator.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
+#include "components/metrics/profiler/tracking_synchronizer.h" |
+#include "components/metrics/proto/profiler_event.pb.h" |
scoped_ptr<FirstWebContentsProfiler> |
FirstWebContentsProfiler::CreateProfilerForFirstWebContents( |
@@ -51,6 +53,9 @@ void FirstWebContentsProfiler::DidFirstVisuallyNonEmptyPaint() { |
elapsed); |
} |
+ metrics::TrackingSynchronizer::OnProfilingPhaseCompleted( |
+ metrics::ProfilerEventProto::EVENT_FIRST_NONEMPTY_PAINT); |
+ |
if (IsFinishedCollectingMetrics()) |
FinishedCollectingMetrics(); |
} |