Index: chrome/browser/tab_contents/chrome_web_contents_view_delegate_win.cc |
=================================================================== |
--- chrome/browser/tab_contents/chrome_web_contents_view_delegate_win.cc (revision 127433) |
+++ chrome/browser/tab_contents/chrome_web_contents_view_delegate_win.cc (working copy) |
@@ -81,6 +81,8 @@ |
if (view_storage->RetrieveView(last_focused_view_storage_id_) != NULL) |
view_storage->RemoveView(last_focused_view_storage_id_); |
+ if (!GetFocusManager()) |
+ return; |
views::View* focused_view = GetFocusManager()->GetFocusedView(); |
if (focused_view) |
view_storage->StoreView(last_focused_view_storage_id_, focused_view); |