DescriptionRemove CompressibleStringImpl::s_isPageBackground
This CL removes a static variable s_isPageBackground which is used to
tell the current tab is in background or foreground. It is because it's
almost impossible to tell this.
For example, one renderer process of a new tab page is used for
multiple tabs. Another example is that reloading a page will re-use the
process with a new Page object and updating a static variable along with
reloading will be complex.
After this CL, we won't be able to get the number of decompression only
in a background tab. With the new UMA, we can't give a go-sign for
CompressibleString but at least we can give a no-go-sign.
BUG=581266
TEST=n/a
Committed: https://crrev.com/01b6c4d4696d85645e0db3fc602b8da9203ce748
Cr-Commit-Position: refs/heads/master@{#372012}
Patch Set 1 #
Total comments: 1
Depends on Patchset: Messages
Total messages: 13 (5 generated)
|