Commit 5a95b11a authored by Robert Liao's avatar Robert Liao Committed by Commit Bot

Update DesktopLinuxBrowserFrameView::Layout Comment

The Relayout() code has been moved a lot. The comment is now current
as of this revision

BUG=
TBR=thomasanderson@chromium.org

Change-Id: Ieb391af093a40a9b42dbfbbfc1e6160ab6c93547
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848581Reviewed-by: default avatarRobert Liao <robliao@chromium.org>
Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704016}
parent eb359b26
......@@ -27,8 +27,8 @@ DesktopLinuxBrowserFrameView::~DesktopLinuxBrowserFrameView() {}
void DesktopLinuxBrowserFrameView::Layout() {
// Calling MaybeUpdateCachedFrameButtonImages() from Layout() is sufficient to
// catch all cases that could update the appearance, since
// DesktopWindowTreeHostX11::UpdateWindowProperties() does a layout any time
// any properties change.
// DesktopWindowTreeHostPlatform::OnWindowStateChanged() does a layout any
// time any properties change.
MaybeUpdateCachedFrameButtonImages();
OpaqueBrowserFrameView::Layout();
}
......
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