Chromium Code Reviews
DescriptionPrevent FontResource load limit timers from restarting during loading
FontResource::startLoadLimitTimersIfNeeded() was called from
RemoteFontFaceSource::beginLoadIfNeeded() on each style recalc, and bypasses
checks if called when FontResource is still loading and long limit timer has
fired. This may cause RemoteFontFaceSource callbacks to be called more than once
and in turn corrupt its internal state.
Now we start timers only after actual load of FontResource is started.
BUG=655076
Review-Url: https://codereview.chromium.org/2419753002
Cr-Commit-Position: refs/heads/master@{#425010}
(cherry picked from commit 6b2d64014d739051f120dc38df46ac73a469270d)
R=shaochuan@chromium.org
TBR=toyoshim@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/ed25c977e0d9c92aa15824a3722a7627f99fb8d1
Patch Set 1 #
Messages
Total messages: 6 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||