| Index: ui/aura/mus/window_port_mus.cc
|
| diff --git a/ui/aura/mus/window_port_mus.cc b/ui/aura/mus/window_port_mus.cc
|
| index 0621b0f8aedeb1c38c22de9e22c2c1f8c5329595..d5cec7110aedeb1342bde19e1f148313295baf0d 100644
|
| --- a/ui/aura/mus/window_port_mus.cc
|
| +++ b/ui/aura/mus/window_port_mus.cc
|
| @@ -524,7 +524,7 @@ void WindowPortMus::OnPropertyChanged(const void* key,
|
| void WindowPortMus::UpdatePrimarySurfaceInfo() {
|
| bool embeds_surface = window_mus_type() == WindowMusType::TOP_LEVEL_IN_WM ||
|
| window_mus_type() == WindowMusType::EMBED_IN_OWNER;
|
| - if (!embeds_surface)
|
| + if (!embeds_surface || !window_tree_client_->enable_surface_synchronization_)
|
| return;
|
|
|
| if (!frame_sink_id_.is_valid() || !local_surface_id_.is_valid())
|
|
|