DescriptionReland of Android: Make the spare renderer accessible to all Chrome tabs.
Original CL description (from https://codereview.chromium.org/2199393002/):
Android: Make the spare renderer accessible to all Chrome tabs.
In Custom Tabs, an external application can "warm up" Chrome. This
creates and initializes a spare renderer, and has been found to be a
significant optimization for loading performance.
This patch moves the spare renderer logic out of Custom Tabs, and makes
it accessible and useful for regular navigations in Chrome. Note that
this patch doesn't add new call sites for the spare renderer creation.
TBR=yusufo,maria # trivial fix to a test.
BUG=633964
Committed: https://crrev.com/21f7b3ae303e08aaccd054870bf5b3978589d702
Cr-Commit-Position: refs/heads/master@{#412808}
Patch Set 1 #Patch Set 2 : Explicitely destroy the observer. #Patch Set 3 : Pass the WebContents to the observer (for proper destruction). #Messages
Total messages: 12 (9 generated)
|