Commit a542d97a authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

[VK] Fix hangouts app overscrolling.

In UpdateInsetsForWindow, we assume that a window can only have one
RenderWidgetHostView. However, it looks like for the hangouts app,
the window has multiple RenderWidgetHostViews, all of which need to
be updated.

Test: Manual
Bug: 764211
Change-Id: I1c9b60e4c1f9a05a0c9e0c6683c72781115ee925
Reviewed-on: https://chromium-review.googlesource.com/1215424Reviewed-by: default avatarYuichiro Hanada <yhanada@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589855}
parent 3aa44cb5
......@@ -187,7 +187,6 @@ void ChromeKeyboardUI::UpdateInsetsForWindow(aura::Window* window) {
view->SetInsets(gfx::Insets(0, 0, overlap, 0));
else
view->SetInsets(gfx::Insets());
return;
}
}
}
......
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