Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Issue 159040: Fix another d&d crash that happens when the tab contents (Closed)

Created:
11 years, 5 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix another d&d crash that happens when the tab contents is swapped out while a drag is happening. Since the tab contents is swapped out, our RVH that the drag started on is no longer valid. Simply null out the pointer and no longer try to send feedback to the drag source. This allows the user to continue the drag even though the source RVH is gone. BUG=16073

Patch Set 1 #

Total comments: 1

Patch Set 2 : revise comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -10 lines) Patch
M chrome/browser/tab_contents/web_drag_source.h View 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/web_drag_source.cc View 4 chunks +30 lines, -2 lines 0 comments Download
M chrome/browser/views/tab_contents/tab_contents_view_win.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/glue/webview_impl.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tony
11 years, 5 months ago (2009-07-17 23:19:00 UTC) #1
tony
ping
11 years, 5 months ago (2009-07-20 20:54:46 UTC) #2
darin (slow to review)
LGTM (sorry for the delayed review!) http://codereview.chromium.org/159040/diff/1/5 File webkit/glue/webview_impl.cc (right): http://codereview.chromium.org/159040/diff/1/5#newcode1590 Line 1590: // it's ...
11 years, 5 months ago (2009-07-21 04:53:54 UTC) #3
Evan Stade
11 years, 5 months ago (2009-07-21 20:10:20 UTC) #4
might this also cause a problem on linux?

Powered by Google App Engine
This is Rietveld 408576698