summaryrefslogtreecommitdiffstats
path: root/chrome/browser/status_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/status_view.cc')
-rw-r--r--chrome/browser/status_view.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/status_view.cc b/chrome/browser/status_view.cc
index 9039daa..30395fc 100644
--- a/chrome/browser/status_view.cc
+++ b/chrome/browser/status_view.cc
@@ -16,9 +16,8 @@ StatusView::~StatusView() {
delete buttons_[i].button;
}
-void StatusView::CreateView(HWND parent_hwnd,
- const gfx::Rect& initial_bounds) {
- Create(parent_hwnd);
+void StatusView::CreateView() {
+ Create(GetDesktopWindow());
}
LRESULT StatusView::OnCreate(LPCREATESTRUCT create_struct) {