Don't log TabMetrics event when closing browser window
BrowserView::CanClose() hides the browser frame before closing the browser. This causes the active WebContents to log an extraneous TabManager.TabMetrics event, thinking the tab was backgrounded. Unless the window was actually minimized, the active WebContents shouldn't log a backgrounded event when hidden. Bug: 784639 Change-Id: I211e37bf169112982c1130dffb7c502d83c5e9db Reviewed-on: https://chromium-review.googlesource.com/905095 Commit-Queue: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by:François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#535974}
Showing
Please register or sign in to comment