Chromium Code Reviews
DescriptionCherry-picked merge request for M59
[android omnibox] Move width calculation to onMeasure step
The Android text renderer runs in the ::measure() step. If the View
width is changed after this, in the layout or draw step, the text
is not re-laid out; it is truncated.
This change moves up the calculation.
BUG=718432
Review-Url: https://codereview.chromium.org/2866643002
Cr-Commit-Position: refs/heads/master@{#469869}
(cherry picked from commit d98981b9ab09719407adcb63f639276590f4263b)
Review-Url: https://codereview.chromium.org/2867923002 .
Cr-Commit-Position: refs/branch-heads/3071@{#467}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}
Committed: https://chromium.googlesource.com/chromium/src/+/9de10b9bb6b8b343a212643cad39877e0a134c41
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||