Chromium Code Reviews
DescriptionCancel drag operation when the tab RenderWidgetHostView does not exist (Mac)
When the tab's RenderWidgetHostView is nullptr, we cannot and should not select any
RenderWidgetHosts for a drag destination. Therefore, in response to draggingEntered
we should return no operation.
This CL will fix that issue as well as making RenderWidgetHostInputEventRouter::GetRenderWidgetHostAtPoint()
handle nullptr |root_view| by returning nullptr.
BUG=670645
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2547213002
Cr-Commit-Position: refs/heads/master@{#436146}
(cherry picked from commit 5190330169f1e6c1d8418e6bcc0499fdc99ec287)
Patch Set 1 #
Messages
Total messages: 9 (5 generated)
|
|||||||||||||||||||||||||||||||||||||