DescriptionFix timing bug in delayed async initialization on Android.
When deferring the init of the native libraries, it adjusted the
timing when the draw observer that kicks off the native load is
registered. Because it was delayed, the first draw of the view
might have already happened and as a result the native library
would be blocked indefinitely until another draw occurred (which
wouldn't happen unless the user rotated the phone or otherwise
was able to trigger a redraw).
The moves back to using the bulk of the shared pre-native startup
code and defers signally the draw actually happened until the
embedding code signals that the startup should proceed.
BUG=721868
Review-Url: https://codereview.chromium.org/2884743002
Cr-Commit-Position: refs/heads/master@{#472145}
Committed: https://chromium.googlesource.com/chromium/src/+/a9935effb606cac69554673147c9bfc6484b0b9c
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|