Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / cocoa / status_bubble_mac_unittest.mm
index 7e54f3d..4297a39 100644 (file)
@@ -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.