Index: chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc |
diff --git a/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc b/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc |
index 67a00825fb3c583916f807a1b854a22beb3b9234..6559178599cd754149c4838ccfcaec648149a3ee 100644 |
--- a/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc |
+++ b/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc |
@@ -93,9 +93,8 @@ void ContentBasedThumbnailingAlgorithm::ProcessBitmap( |
base::PostTaskWithTraits( |
FROM_HERE, |
- base::TaskTraits() |
- .WithPriority(base::TaskPriority::BACKGROUND) |
- .WithShutdownBehavior(base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN), |
+ {base::TaskPriority::BACKGROUND, |
+ base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}, |
base::Bind(&CreateRetargetedThumbnail, source_bitmap, |
target_thumbnail_size, context, callback)); |
} |