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

Unified Diff: content/browser/web_contents/web_contents_view_gtk.cc

Issue 10966023: Fix the crash that could occur when the window is closed while web contents drag is in progress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 years, 3 months 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
Index: content/browser/web_contents/web_contents_view_gtk.cc
diff --git a/content/browser/web_contents/web_contents_view_gtk.cc b/content/browser/web_contents/web_contents_view_gtk.cc
index 1a93e75b0f3fd55365b0f64f8167a3df9d91243b..20b1239bd03260a2254eafe55e0dabce942b109a 100644
--- a/content/browser/web_contents/web_contents_view_gtk.cc
+++ b/content/browser/web_contents/web_contents_view_gtk.cc
@@ -242,13 +242,6 @@ void WebContentsViewGtk::RestoreFocus() {
SetInitialFocus();
}
-bool WebContentsViewGtk::IsDoingDrag() const {
- return false;
-}
-
-void WebContentsViewGtk::CancelDragAndCloseTab() {
-}
-
WebDropData* WebContentsViewGtk::GetDropData() const {
return drag_dest_->current_drop_data();
}

Powered by Google App Engine
This is Rietveld 408576698