diff --git a/src/3rdparty b/src/3rdparty index 8ba90427ae5edea70afbeb02df01f59c8fc366d4..4679cc537c8358afa61918d119ceb629593a4d4d 160000 --- a/src/3rdparty +++ b/src/3rdparty @@ -1 +1 @@ -Subproject commit 8ba90427ae5edea70afbeb02df01f59c8fc366d4 +Subproject commit 4679cc537c8358afa61918d119ceb629593a4d4d diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp index 414fc6582fbc1531ce313b4c4309032c84df6cec..8b1a9075be93107289ef2daa1092012bd0a234b1 100644 --- a/src/core/render_widget_host_view_qt.cpp +++ b/src/core/render_widget_host_view_qt.cpp @@ -666,9 +666,9 @@ void RenderWidgetHostViewQt::DidCreateNewRendererCompositorFrameSink(viz::mojom: void RenderWidgetHostViewQt::SubmitCompositorFrame(const viz::LocalSurfaceId &local_surface_id, viz::CompositorFrame frame, base::Optional<viz::HitTestRegionList>) { bool scrollOffsetChanged = (m_lastScrollOffset != frame.metadata.root_scroll_offset); - bool contentsSizeChanged = (m_lastContentsSize != frame.metadata.scrollable_viewport_size); + bool contentsSizeChanged = (m_lastContentsSize != frame.metadata.root_layer_size); m_lastScrollOffset = frame.metadata.root_scroll_offset; - m_lastContentsSize = frame.metadata.scrollable_viewport_size; + m_lastContentsSize = frame.metadata.root_layer_size; // Force to process swap messages uint32_t frame_token = frame.metadata.frame_token;