Skip to content

Commit

Permalink
Remove usage of SequencedWorkerPool in ColorProfileReader.
Browse files Browse the repository at this point in the history
Bug: 667892
Change-Id: I59ba41ab12c7a29a7011a7dc6bca16b0daa38895
Reviewed-on: https://chromium-review.googlesource.com/881582
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531686}
  • Loading branch information
fdoray authored and Commit Bot committed Jan 24, 2018
1 parent 43b9a96 commit 23d38ad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ui/display/win/color_profile_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "base/files/file_util.h"
#include "base/task_scheduler/post_task.h"
#include "base/threading/sequenced_worker_pool.h"
#include "ui/display/win/display_info.h"
#include "ui/gfx/icc_profile.h"

Expand Down Expand Up @@ -60,9 +59,6 @@ void ColorProfileReader::UpdateIfNeeded() {
if (device_to_path_map_ == new_device_to_path_map)
return;

if (!base::SequencedWorkerPool::IsEnabled())
return;

update_in_flight_ = true;
base::PostTaskWithTraitsAndReplyWithResult(
FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
Expand Down

0 comments on commit 23d38ad

Please sign in to comment.