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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 3 months 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/ui/views/location_bar/zoom_bubble_view_browsertest.cc
diff --git a/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc b/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
index ef4ee235b72bac88e71673901598052de54ba791..ecd103cc4adbf98b6c8d9eb5d0da7b4d624874b3 100644
--- a/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_bubble_view_browsertest.cc
@@ -46,7 +46,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, MAYBE_NonImmersiveFullscreen) {
ZoomBubbleView::ShowBubble(web_contents, true);
ASSERT_TRUE(ZoomBubbleView::IsShowing());
const ZoomBubbleView* zoom_bubble = ZoomBubbleView::GetZoomBubbleForTest();
- EXPECT_TRUE(zoom_bubble->anchor_view());
+ EXPECT_TRUE(zoom_bubble->GetAnchorView());
// Entering fullscreen should close the bubble. (We enter into tab fullscreen
// here because tab fullscreen is non-immersive even when
@@ -69,7 +69,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, MAYBE_NonImmersiveFullscreen) {
ZoomBubbleView::ShowBubble(web_contents, true);
ASSERT_TRUE(ZoomBubbleView::IsShowing());
zoom_bubble = ZoomBubbleView::GetZoomBubbleForTest();
- EXPECT_FALSE(zoom_bubble->anchor_view());
+ EXPECT_FALSE(zoom_bubble->GetAnchorView());
// Exit fullscreen before ending the test for the sake of sanity.
{
@@ -112,7 +112,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, ImmersiveFullscreen) {
ZoomBubbleView::ShowBubble(web_contents, true);
ASSERT_TRUE(ZoomBubbleView::IsShowing());
const ZoomBubbleView* zoom_bubble = ZoomBubbleView::GetZoomBubbleForTest();
- EXPECT_FALSE(zoom_bubble->anchor_view());
+ EXPECT_FALSE(zoom_bubble->GetAnchorView());
// An immersive reveal should hide the zoom bubble.
scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock(
@@ -126,7 +126,7 @@ IN_PROC_BROWSER_TEST_F(ZoomBubbleBrowserTest, ImmersiveFullscreen) {
ZoomBubbleView::ShowBubble(web_contents, true);
ASSERT_TRUE(ZoomBubbleView::IsShowing());
zoom_bubble = ZoomBubbleView::GetZoomBubbleForTest();
- EXPECT_TRUE(zoom_bubble->anchor_view());
+ EXPECT_TRUE(zoom_bubble->GetAnchorView());
// The top-of-window views should not hide till the zoom bubble hides. (It
// would be weird if the view to which the zoom bubble is anchored hid while

Powered by Google App Engine
This is Rietveld 408576698