Chromium Code Reviews
DescriptionSuppress spurious foreground/background notifications
WebContentsObserver::WasShown/WasHidden can be invoked for WebContents that are already in that state.
This can cause us to track first foreground/background time incorrectly.
This change suppresses shown/hidden notifications when we're already in that state, so our first fg/bg time tracking works correctly.
BUG=590476
Committed: https://crrev.com/8de43b1b18151fd3428cb9812a95254e36770f84
Cr-Commit-Position: refs/heads/master@{#378212}
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 13 (5 generated)
|