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

Unified Diff: ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm

Issue 2405363003: Mac color: Apply Sierra workaround unconditionally (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm
diff --git a/ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm b/ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm
index 3cade6c3834ac9a0e4a9c29396feaf8e71ba5ea3..77aa9ae8b58f794ccb32895d757db1062d01ba98 100644
--- a/ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm
+++ b/ui/accelerated_widget_mac/ca_layer_tree_coordinator.mm
@@ -62,8 +62,9 @@
"specified, but not both.";
}
if (!pending_ca_renderer_layer_tree_)
- pending_ca_renderer_layer_tree_.reset(new CARendererLayerTree(
- allow_av_sample_buffer_display_layer_, base::mac::IsOSSierraOrLater()));
+ pending_ca_renderer_layer_tree_.reset(
+ new CARendererLayerTree(allow_av_sample_buffer_display_layer_,
+ !base::mac::IsOSSierraOrLater()));
return pending_ca_renderer_layer_tree_.get();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698