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

Unified Diff: chrome/browser/views/tabs/tab_strip.cc

Issue 16246: CRASH at Tab::OnMouseReleased... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 11 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
« no previous file with comments | « chrome/browser/views/tabs/tab_strip.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/tab_strip.cc
===================================================================
--- chrome/browser/views/tabs/tab_strip.cc (revision 7580)
+++ chrome/browser/views/tabs/tab_strip.cc (working copy)
@@ -1022,9 +1022,8 @@
drag_controller_->Drag();
}
-void TabStrip::EndDrag(bool canceled) {
- if (drag_controller_.get())
- drag_controller_->EndDrag(canceled);
+bool TabStrip::EndDrag(bool canceled) {
+ return drag_controller_.get() ? drag_controller_->EndDrag(canceled) : false;
}
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/views/tabs/tab_strip.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698