Index: ios/chrome/app/application_delegate/metrics_mediator.mm |
diff --git a/ios/chrome/app/application_delegate/metrics_mediator.mm b/ios/chrome/app/application_delegate/metrics_mediator.mm |
index 3b5ecee6992f944fc32d8e0d68da4e658581db76..191d49383af9ce501de922600dba13dd76046ee0 100644 |
--- a/ios/chrome/app/application_delegate/metrics_mediator.mm |
+++ b/ios/chrome/app/application_delegate/metrics_mediator.mm |
@@ -144,7 +144,7 @@ + (void)logLaunchMetricsWithStartupInformation: |
GURL ntpUrl = GURL(kChromeUINewTabURL); |
Tab* currentTab = [[browserViewInformation currentTabModel] currentTab]; |
- if (currentTab && [currentTab url] == ntpUrl) { |
+ if (currentTab && currentTab.lastCommittedURL == ntpUrl) { |
startupInformation.firstUserActionRecorder->RecordStartOnNTP(); |
[startupInformation resetFirstUserActionRecorder]; |
} else { |