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

Unified Diff: content/child/runtime_features.cc

Issue 1962263002: Introduce FontCache content scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win layout test fix Created 4 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
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 98c30c5bbf780dad1b3ac824b98139e230e07142..8bbff6cac60b5bf3ae6f07545e298e8e80f21fac 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -196,10 +196,14 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
base::FeatureList::IsEnabled(features::kMediaDocumentDownloadButton));
if (base::FeatureList::IsEnabled(features::kPointerEvents)) {
- WebRuntimeFeatures::enableFeatureFromString(
+ WebRuntimeFeatures::enableFeatureFromString(
std::string("PointerEvent"), true);
}
+ WebRuntimeFeatures::enableFeatureFromString(
+ "FontCacheScaling",
+ base::FeatureList::IsEnabled(features::kFontCacheScaling));
+
if (!base::FeatureList::IsEnabled(features::kPaintOptimizations))
WebRuntimeFeatures::enableFeatureFromString("PaintOptimizations", false);

Powered by Google App Engine
This is Rietveld 408576698