| Index: ui/accelerated_widget_mac/ca_layer_tree_coordinator.h
|
| diff --git a/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h b/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h
|
| index 6cd1c493d17783f4fa8c83868752b8bb3521d3ce..5a3e17943f5ab4e51c5abab1195c32490ea32b34 100644
|
| --- a/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h
|
| +++ b/ui/accelerated_widget_mac/ca_layer_tree_coordinator.h
|
| @@ -21,7 +21,8 @@ namespace ui {
|
| // to the browser process in https://crbug.com/604052.
|
| class ACCELERATED_WIDGET_MAC_EXPORT CALayerTreeCoordinator {
|
| public:
|
| - explicit CALayerTreeCoordinator(bool allow_remote_layers);
|
| + explicit CALayerTreeCoordinator(bool allow_remote_layers,
|
| + bool allow_av_sample_buffer_display_layer);
|
| ~CALayerTreeCoordinator();
|
|
|
| // Set the composited frame's size.
|
| @@ -56,7 +57,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CALayerTreeCoordinator {
|
| IOSurfaceRef GetIOSurfaceForDisplay();
|
|
|
| private:
|
| - bool allow_remote_layers_ = true;
|
| + const bool allow_remote_layers_ = true;
|
| + const bool allow_av_sample_buffer_display_layer_ = true;
|
| gfx::Size pixel_size_;
|
| float scale_factor_ = 1;
|
|
|
|
|