DescriptionSet the prerender size right and avoid resets
Builds on https://codereview.chromium.org/2259533003
Even if we set a renderer size during prerender, that value gets
overridden on initialization due to two reasons:
- On CVC construction, in setCVC for RWHVAndroid, there is a resize
no matter what. This changes adds a condition to not resize if it is
a brand new CVC with zero size.
- In swapCVC in Tab, we actually make an attempt to use the old CVC
size. In external prerender this should actually use the estimated
size used previously. This change also does that.
BUG=612218
Committed: https://crrev.com/96ca94bfebcf7697c58650c7f57225019dfc3b9c
Cr-Commit-Position: refs/heads/master@{#405541}
Patch Set 1 #
Total comments: 2
Patch Set 2 : siever@'s comments #Patch Set 3 : Fix compile #Patch Set 4 : Fix compile for real #
Messages
Total messages: 24 (11 generated)
|