| Index: chrome/browser/chromeos/status/clock_menu_button_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/status/clock_menu_button_browsertest.cc b/chrome/browser/chromeos/status/clock_menu_button_browsertest.cc
|
| index cdcb53f183e79ed0eb660637058bff1c825e53c1..b826ad2494e69f4e60f3ebfd4cdb6cc504c92b92 100644
|
| --- a/chrome/browser/chromeos/status/clock_menu_button_browsertest.cc
|
| +++ b/chrome/browser/chromeos/status/clock_menu_button_browsertest.cc
|
| @@ -34,12 +34,12 @@ class ClockMenuButtonTest : public InProcessBrowserTest {
|
| const ClockMenuButton* GetClockMenuButton() {
|
| const views::View* parent = NULL;
|
| #if defined(USE_AURA)
|
| - parent = ChromeShellDelegate::instance()->GetStatusArea();
|
| + parent = ChromeShellDelegate::instance()->GetStatusAreaForTest();
|
| #else
|
| parent = static_cast<const BrowserView*>(browser()->window());
|
| #endif
|
| - return static_cast<const ClockMenuButton*>(parent->GetViewByID(
|
| - VIEW_ID_STATUS_BUTTON_CLOCK));
|
| + return static_cast<const ClockMenuButton*>(
|
| + parent->GetViewByID(VIEW_ID_STATUS_BUTTON_CLOCK));
|
| }
|
| };
|
|
|
|
|