Index: chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc |
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc |
index d010d6eefe39d2e28f56d21511723b4acc429ca6..088b1dddb43d30c08e7b989b0373530083954019 100644 |
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc |
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_container_aura.cc |
@@ -113,7 +113,7 @@ void NativeTabContentsContainerAura::RequestFocus() { |
// that should also have focus, RequestFocus() is invoked one the |
// TabContentsContainer. In order to make sure OnFocus() is invoked we need |
// to clear the focus before hands. |
- { |
+ if (GetFocusManager()) { |
// Disable notifications. Clear focus will assign the focus to the main |
// browser window. Because this change of focus was not user requested, |
// don't send it to listeners. |