Commit ac827834 authored by Eric Karl's avatar Eric Karl Committed by Commit Bot

Android OOP-D: Accept Child LSI Updates While Hidden

Currently, we ignore updates to child LSIs while hidden. This
can lead to cases where the browser never receives the update.

There should be no downside to processing these (this seemed
like an accidental incorrect optimization), so this CL removes
the restriction.

Bug: 889829, 889817
Change-Id: I3ac96f40cffd0816cc01261c4bbc7fa23e27a69e
Reviewed-on: https://chromium-review.googlesource.com/1252275
Commit-Queue: Eric Karl <ericrk@chromium.org>
Commit-Queue: Fady Samuel <fsamuel@chromium.org>
Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595332}
parent 8410a6d9
......@@ -2207,7 +2207,7 @@ void RenderWidgetHostImpl::DidUpdateVisualProperties(
NOTIFICATION_RENDER_WIDGET_HOST_DID_UPDATE_VISUAL_PROPERTIES,
Source<RenderWidgetHost>(this), NotificationService::NoDetails());
if (!view_ || is_hidden_)
if (!view_)
return;
viz::ScopedSurfaceIdAllocator scoped_allocator =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment