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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 2543803002: Fix crash where a RenderWidgetHost can be deleted in the middle of a (Closed)
Patch Set: addressing comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index d032f18620cd7d50b624759801efa2fde9e192d0..68690959d5a6cf6b427f931f0ea78f704f68d0a4 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -66,7 +66,7 @@ class CONTENT_EXPORT WebContentsViewAura
void SizeChangedCommon(const gfx::Size& size);
- void EndDrag(blink::WebDragOperationsMask ops);
+ void EndDrag(RenderWidgetHost* source_rwh, blink::WebDragOperationsMask ops);
void InstallOverscrollControllerDelegate(RenderWidgetHostViewAura* view);
@@ -203,10 +203,6 @@ class CONTENT_EXPORT WebContentsViewAura
// view. |current_rvh_for_drag_| should not be dereferenced.
void* current_rvh_for_drag_;
- // We keep track of the RenderWidgetHost from which the current drag started,
- // in order to properly route the drag end message to it.
- base::WeakPtr<RenderWidgetHostImpl> drag_start_rwh_;
-
// The overscroll gesture currently in progress.
OverscrollMode current_overscroll_gesture_;
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698