Commit 3d9317db authored by W. James MacLean's avatar W. James MacLean Committed by Commit Bot

Add bug number to comment.

TBR=kenrb@chromium.org

Bug: 928825
Change-Id: I5402e4e2ec79f294862607adb94c4680803dc6b8
Reviewed-on: https://chromium-review.googlesource.com/c/1456199Reviewed-by: default avatarJames MacLean <wjmaclean@chromium.org>
Commit-Queue: James MacLean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629770}
parent f7bbee9b
......@@ -293,11 +293,11 @@ gfx::Rect RenderWidgetHostViewChildFrame::GetViewBounds() const {
// offset.
rect.Offset(parent_view->GetViewBounds().OffsetFromOrigin());
}
// TODO(fsamuel): GetViewBounds is a bit of a mess. It's used to determine
// TODO(wjmaclean): GetViewBounds is a bit of a mess. It's used to determine
// the size of the renderer content and where to place context menus and so
// on. We want the location of the frame in screen coordinates to place
// popups but we want the size in local coordinates to produce the right-
// sized CompositorFrames.
// sized CompositorFrames. https://crbug.com/928825.
rect.set_size(frame_connector_->local_frame_size_in_dip());
}
return rect;
......
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