Commit 585cbfe2 authored by Xi Cheng's avatar Xi Cheng Committed by Commit Bot

Remove unused timers for JumpList

After landing crrev/2956553002 which removes the metrics, these two
elapsed timers are no longer needed.

Bug: 738126
Change-Id: I04b29e4728cedb9e7f1fc740036d1a6106cbf0a5
Reviewed-on: https://chromium-review.googlesource.com/566990Reviewed-by: default avatarPatrick Monette <pmonette@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486222}
parent 2e19ce1c
......@@ -510,8 +510,6 @@ void JumpList::StartLoadingFavicon() {
return;
}
base::ElapsedTimer timer;
// Ask FaviconService if it has a favicon of a URL.
// When FaviconService has one, it will call OnFaviconDataAvailable().
favicon::FaviconService* favicon_service =
......@@ -529,8 +527,6 @@ void JumpList::OnFaviconDataAvailable(
const favicon_base::FaviconImageResult& image_result) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
base::ElapsedTimer timer;
// If there is currently a favicon request in progress, it is now outdated,
// as we have received another, so nullify the handle from the old request.
task_id_ = base::CancelableTaskTracker::kBadTaskId;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment