| Index: chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm b/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
|
| index 7e54f3d1fd5e8b8e282303099b0d6ab3a413d32f..4297a397f623c5bb9bb41a3e964fd28227982af5 100644
|
| --- a/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/status_bubble_mac_unittest.mm
|
| @@ -135,7 +135,7 @@ class StatusBubbleMacTest : public CocoaTest {
|
| BubbleView* bubbleView = [bubble_->window_ contentView];
|
| return [bubbleView content];
|
| }
|
| - NSWindow* GetWindow() {
|
| + StatusBubbleWindow* GetWindow() {
|
| return bubble_->window_;
|
| }
|
| NSWindow* parent() {
|
| @@ -537,7 +537,7 @@ TEST_F(StatusBubbleMacTest, MovingWindowUpdatesPosition) {
|
|
|
| // Show the bubble and make sure it has the same origin as |window|.
|
| bubble_->SetStatus(UTF8ToUTF16("Showing"));
|
| - NSWindow* child = GetWindow();
|
| + StatusBubbleWindow* child = GetWindow();
|
| EXPECT_TRUE(NSEqualPoints([window frame].origin, [child frame].origin));
|
|
|
| // Hide the bubble, move the window, and show it again.
|
| @@ -557,7 +557,7 @@ TEST_F(StatusBubbleMacTest, StatuBubbleRespectsBaseFrameLimits) {
|
|
|
| // Show the bubble and make sure it has the same origin as |window|.
|
| bubble_->SetStatus(UTF8ToUTF16("Showing"));
|
| - NSWindow* child = GetWindow();
|
| + StatusBubbleWindow* child = GetWindow();
|
| EXPECT_TRUE(NSEqualPoints([window frame].origin, [child frame].origin));
|
|
|
| // Hide the bubble, change base frame offset, and show it again.
|
|
|