Commit 36eb0ded authored by Robert Ogden's avatar Robert Ogden Committed by Commit Bot

Use current navigation url for OnStart cookie query

This was using the previous page's url. Ooops

Bug: 1029959
Change-Id: Ibda0079598698cfebc54c0c579f76f31355284e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948045Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Robert Ogden <robertogden@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721530}
parent 8ba35045
...@@ -58,7 +58,7 @@ SubresourceLoadingPageLoadMetricsObserver::OnStart( ...@@ -58,7 +58,7 @@ SubresourceLoadingPageLoadMetricsObserver::OnStart(
navigation_start_ = base::Time::Now(); navigation_start_ = base::Time::Now();
CheckForCookiesOnURL(navigation_handle->GetWebContents()->GetBrowserContext(), CheckForCookiesOnURL(navigation_handle->GetWebContents()->GetBrowserContext(),
currently_committed_url); navigation_handle->GetURL());
return CONTINUE_OBSERVING; return CONTINUE_OBSERVING;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment