DescriptionFree context resources when memory limit is 0
Android webview does not use chrome's concept of visibility. Treat
memory being set to 0 as signal to drop memory. And drop memory by
flipping the surface to invisible and back.
BUG=496057
Committed: https://crrev.com/b032a08db9fbaedacaa5b0ac4d39374c4995839c
Cr-Commit-Position: refs/heads/master@{#333113}
Patch Set 1 #Patch Set 2 : compile #Patch Set 3 : avoid DCHECK #Patch Set 4 : visible as well #Messages
Total messages: 11 (4 generated)
|