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

Unified Diff: content/child/runtime_features.cc

Issue 2814553002: Disable the image notification property on MacOS (Closed)
Patch Set: rebase Created 3 years, 8 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 15426d87239ae5f397283714ec87cfec65a89e4a..668dc0fe0a993324877c18a1b55f017067151ea9 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -73,6 +73,11 @@ static void SetRuntimeFeatureDefaultsForPlatform() {
#if defined(OS_CHROMEOS)
WebRuntimeFeatures::EnableForceTallerSelectPopup(true);
#endif
+
+// The Notification Center on Mac OS X does not support content images.
+#if !defined(OS_MACOSX)
+ WebRuntimeFeatures::EnableNotificationContentImage(true);
+#endif
}
void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(

Powered by Google App Engine
This is Rietveld 408576698