diff options
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc index 12028c2..2d3e70c 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -115,10 +115,9 @@ DictionaryValue* ExtensionTabUtil::CreateTabValue( result->SetString(keys::kStatusKey, GetTabStatusText(status)); result->SetBoolean(keys::kSelectedKey, tab_strip && tab_index == tab_strip->selected_index()); + result->SetString(keys::kTitleKey, UTF16ToWide(contents->GetTitle())); if (status != TAB_LOADING) { - result->SetString(keys::kTitleKey, UTF16ToWide(contents->GetTitle())); - NavigationEntry* entry = contents->controller().GetActiveEntry(); if (entry) { if (entry->favicon().is_valid()) |