Don't use WebContents::GetURL().
WebContents::GetURL() is deprecated because there's no way to know *what* URL it's giving you. In this particular case, it pulled a URL from the *future* of a page's navigation history, which caused a loop to not terminate properly. (And all the metrics are wrong :( ouch ) BUG=854430 TEST=as in bug Change-Id: I798af0278ffde3421fa933644513fafba8bd0b2d Reviewed-on: https://chromium-review.googlesource.com/1113660Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#570092}
Showing
Please register or sign in to comment