diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 23:01:45 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 23:01:45 +0000 |
commit | 74dd2037fe17e9b86b095444425dd93ac19faa4b (patch) | |
tree | 73933628636520a9ec9aa4c44a3dcadb66da1c5c /views/controls | |
parent | 13274e77cb24e79a976577671faf942ae1408394 (diff) | |
download | chromium_src-74dd2037fe17e9b86b095444425dd93ac19faa4b.zip chromium_src-74dd2037fe17e9b86b095444425dd93ac19faa4b.tar.gz chromium_src-74dd2037fe17e9b86b095444425dd93ac19faa4b.tar.bz2 |
These files were meant to go with my change here http://codereview.chromium.org/6577017
BUG=72040
TEST=none
TBR=sky
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-rw-r--r-- | views/controls/tabbed_pane/native_tabbed_pane_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc b/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc index 0b47abde..02d5fe6 100644 --- a/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc +++ b/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc @@ -153,7 +153,7 @@ void NativeTabbedPaneGtk::DoAddTabAtIndex(int index, const std::wstring& title, WidgetGtk* page_container = new WidgetGtk(WidgetGtk::TYPE_CHILD); page_container->Init(NULL, gfx::Rect()); page_container->SetContentsView(contents); - page_container->SetFocusTraversableParent(GetRootView()); + page_container->SetFocusTraversableParent(GetWidget()->GetFocusTraversable()); page_container->SetFocusTraversableParentView(this); page_container->Show(); |