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

Unified Diff: content/common/dwrite_font_platform_win.cc

Issue 1557513002: Add logic to switch to DirectWrite font proxy via field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extraneous namespace qualification Created 4 years, 11 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/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/font_warmup_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/dwrite_font_platform_win.cc
diff --git a/content/common/dwrite_font_platform_win.cc b/content/common/dwrite_font_platform_win.cc
index dec1c16b3c5d2787692ab18af00c38041d8f2844..56140f421aae388d5eb07c3b4eaf3ec0639dbf04 100644
--- a/content/common/dwrite_font_platform_win.cc
+++ b/content/common/dwrite_font_platform_win.cc
@@ -1273,4 +1273,10 @@ bool BuildFontCache(const base::FilePath& file) {
return BuildFontCacheInternal(file.value().c_str());
}
+bool ShouldUseDirectWriteFontProxyFieldTrial() {
+ return base::StartsWith(
+ base::FieldTrialList::FindFullName("DirectWriteFontProxy"),
+ "UseDirectWriteFontProxy", base::CompareCase::SENSITIVE);
+}
+
} // namespace content
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/font_warmup_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698