Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1429)

Unified Diff: content/browser/font_list_async.cc

Issue 13458002: Use sequenced workers for the getting the system's font list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use sequenced workers Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/font_list_async.cc
diff --git a/content/browser/font_list_async.cc b/content/browser/font_list_async.cc
index 819e62b58ba62c1fbbbd356c661cc406a6f88cf1..422531947a4fd37b0fe4f9bec1f5c23775616e4f 100644
--- a/content/browser/font_list_async.cc
+++ b/content/browser/font_list_async.cc
@@ -38,7 +38,9 @@ void GetFontListAsync(
DCHECK(well_known_thread)
<< "Can only call GetFontList from a well-known thread.";
- BrowserThread::PostBlockingPoolTask(FROM_HERE,
+ BrowserThread::PostBlockingPoolSequencedTask(
+ kFontListSequenceToken,
+ FROM_HERE,
base::Bind(&GetFontListInBlockingPool, id, callback));
}
« no previous file with comments | « no previous file | content/browser/renderer_host/pepper/pepper_browser_font_singleton_host.cc » ('j') | content/common/font_list.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698