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

Unified Diff: content/common/font_list_fontconfig.cc

Issue 2886883003: Remove content::kFontListSequenceToken. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « content/common/font_list.cc ('k') | content/public/browser/font_list_async.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_list_fontconfig.cc
diff --git a/content/common/font_list_fontconfig.cc b/content/common/font_list_fontconfig.cc
index 7f52829845d758bf441d632696087dbed4c5c192..3a6062d63befb2c769977ca8eba14455c3d8737c 100644
--- a/content/common/font_list_fontconfig.cc
+++ b/content/common/font_list_fontconfig.cc
@@ -26,6 +26,8 @@ std::unique_ptr<FcPattern, decltype(&FcPatternDestroy)> CreateFormatPattern(
}
std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() {
+ DCHECK(GetFontListTaskRunner()->RunsTasksInCurrentSequence());
+
std::unique_ptr<base::ListValue> font_list(new base::ListValue);
std::unique_ptr<FcObjectSet, decltype(&FcObjectSetDestroy)> object_set(
« no previous file with comments | « content/common/font_list.cc ('k') | content/public/browser/font_list_async.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698