Index: chrome/browser/ui/views/frame/browser_view.cc |
=================================================================== |
--- chrome/browser/ui/views/frame/browser_view.cc (revision 115435) |
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy) |
@@ -1433,7 +1433,7 @@ |
// We do not store the focus when closing the tab to work-around bug 4633. |
// Some reports seem to show that the focus manager and/or focused view can |
// be garbage at that point, it is not clear why. |
- if (!contents->tab_contents()->is_being_destroyed()) |
+ if (!contents->tab_contents()->IsBeingDestroyed()) |
contents->tab_contents()->GetView()->StoreFocus(); |
} |