summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_bubble.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 01:13:54 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 01:13:54 +0000
commit396c0398493d17b7e23f8720481dcfae6d9d3cc7 (patch)
tree66af9d0aaf75250b8ce68b12234c133a0f051441 /chrome/browser/views/first_run_bubble.cc
parent10eaf87fb4e1f7677001d16c1296b7305143f633 (diff)
downloadchromium_src-396c0398493d17b7e23f8720481dcfae6d9d3cc7.zip
chromium_src-396c0398493d17b7e23f8720481dcfae6d9d3cc7.tar.gz
chromium_src-396c0398493d17b7e23f8720481dcfae6d9d3cc7.tar.bz2
More miscellaneous cleanup bits to try and move info_bubble.* closer to my locally rewritten versions, so that the diff will be readable.
BUG=none TEST=none Review URL: http://codereview.chromium.org/196131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_bubble.cc')
-rw-r--r--chrome/browser/views/first_run_bubble.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/first_run_bubble.cc b/chrome/browser/views/first_run_bubble.cc
index a29b9ff..af628cb 100644
--- a/chrome/browser/views/first_run_bubble.cc
+++ b/chrome/browser/views/first_run_bubble.cc
@@ -357,10 +357,8 @@ FirstRunBubble* FirstRunBubble::Show(Profile* profile,
view = new FirstRunOEMBubbleView(window, profile);
else
view = new FirstRunBubbleView(window, profile);
- window->SetDelegate(window);
window->set_view(view);
- window->Init(parent, position_relative_to, view);
- window->ShowWindow(SW_SHOW);
+ window->Init(parent, position_relative_to, view, window);
window->GetFocusManager()->AddFocusChangeListener(view);
view->BubbleShown();
return window;