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

Unified Diff: content/child/runtime_features.cc

Issue 2814553002: Disable the image notification property on MacOS (Closed)
Patch Set: Reset test expectations for mac stable tests 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 d8c840e29a8801482226fc08ac751317ddee32ca..dfc9cf9c48bcc2027b67c7e4722cd5bbd4340a61 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -72,6 +72,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