Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5551)

Unified Diff: chrome/browser/chromeos/status/clock_menu_button_browsertest.cc

Issue 8591003: aura: Fix Chrome OS status area browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to GetStatusAreaForTest() and remove const-ness Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
};

Powered by Google App Engine
This is Rietveld 408576698