DescriptionRefine FontLoadHistograms::recordRemoteFont() logic
1. Move cacheHitHistogram count out of if statement to include memory cache
hits, whose |m_loadStartTime| is 0.
2. Remove redundant checks in if statement. After previous refactoring,
recordRemoteFont() is now only called once from notifyFinished(), and |font|
here is always available and loaded.
3. Use DataSource to determine cases to record load time (data URL loads have
non-zero |m_loadStartTime| but should complete immediately).
Committed: https://crrev.com/e07469c81053c55c60a64a8ea55e919f7524b619
Cr-Commit-Position: refs/heads/master@{#419144}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fixup #Messages
Total messages: 13 (4 generated)
|