| Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm b/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| index 3b11c141586142babbba2f08bc06d32e0971a24a..e2f23f4972da0455ac296732e3f093a08707f4ad 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -25,10 +25,10 @@
|
|
|
| - (void)awakeFromNib {
|
| // If tab_contents_ is nil, ask view to remove link.
|
| - if (!tabContents_) {
|
| - SadTabView* sad_view = static_cast<SadTabView*>([self view]);
|
| - [sad_view removeLinkButton];
|
| - }
|
| + SadTabView* sad_view = static_cast<SadTabView*>([self view]);
|
| + [sad_view setController:self];
|
| + if (!tabContents_)
|
| + [sad_view removeHelpText];
|
| }
|
|
|
| - (void)dealloc {
|
|
|