summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 23:01:45 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-24 23:01:45 +0000
commit74dd2037fe17e9b86b095444425dd93ac19faa4b (patch)
tree73933628636520a9ec9aa4c44a3dcadb66da1c5c /views/controls
parent13274e77cb24e79a976577671faf942ae1408394 (diff)
downloadchromium_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.cc2
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();