| Index: components/startup_metric_utils/browser/startup_metric_utils.cc
|
| diff --git a/components/startup_metric_utils/browser/startup_metric_utils.cc b/components/startup_metric_utils/browser/startup_metric_utils.cc
|
| index 3f4144721d8c73ce73275ca3cc7232397f70ee1c..2a78031e6c041150d70e5c2557a1055fd165b0e5 100644
|
| --- a/components/startup_metric_utils/browser/startup_metric_utils.cc
|
| +++ b/components/startup_metric_utils/browser/startup_metric_utils.cc
|
| @@ -468,20 +468,6 @@ void RecordFirstWebContentsMainFrameLoad(const base::TimeTicks& ticks) {
|
| g_process_creation_ticks.Get(), ticks);
|
| }
|
|
|
| -void RecordDeprecatedFirstWebContentsMainFrameLoad(
|
| - const base::TimeTicks& ticks) {
|
| - static bool is_first_call = true;
|
| - if (!is_first_call || ticks.is_null())
|
| - return;
|
| - is_first_call = false;
|
| - if (WasNonBrowserUIDisplayed() || g_process_creation_ticks.Get().is_null())
|
| - return;
|
| -
|
| - UMA_HISTOGRAM_WITH_STARTUP_TEMPERATURE(
|
| - UMA_HISTOGRAM_LONG_TIMES_100, "Startup.FirstWebContents.MainFrameLoad",
|
| - ticks - g_process_creation_ticks.Get());
|
| -}
|
| -
|
| void RecordFirstWebContentsNonEmptyPaint(const base::TimeTicks& ticks) {
|
| static bool is_first_call = true;
|
| if (!is_first_call || ticks.is_null())
|
| @@ -495,20 +481,6 @@ void RecordFirstWebContentsNonEmptyPaint(const base::TimeTicks& ticks) {
|
| g_process_creation_ticks.Get(), ticks);
|
| }
|
|
|
| -void RecordDeprecatedFirstWebContentsNonEmptyPaint(
|
| - const base::TimeTicks& ticks) {
|
| - static bool is_first_call = true;
|
| - if (!is_first_call || ticks.is_null())
|
| - return;
|
| - is_first_call = false;
|
| - if (WasNonBrowserUIDisplayed() || g_process_creation_ticks.Get().is_null())
|
| - return;
|
| -
|
| - UMA_HISTOGRAM_WITH_STARTUP_TEMPERATURE(
|
| - UMA_HISTOGRAM_LONG_TIMES_100, "Startup.FirstWebContents.NonEmptyPaint",
|
| - ticks - g_process_creation_ticks.Get());
|
| -}
|
| -
|
| void RecordFirstWebContentsMainNavigationStart(const base::TimeTicks& ticks) {
|
| static bool is_first_call = true;
|
| if (!is_first_call || ticks.is_null())
|
|
|