Index: content/browser/web_contents/web_contents_view_aura_browsertest.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
index 6e8480c68ef4142487a527ebb1ab5982616b882e..53d7e50dec1c5115912fd8c60ba7243bf662d32f 100644 |
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
@@ -883,11 +883,11 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, HideContentOnParenHide) { |
WebContentsImpl* web_contents = |
static_cast<WebContentsImpl*>(shell()->web_contents()); |
aura::Window* content = web_contents->GetNativeView()->parent(); |
- EXPECT_TRUE(web_contents->should_normally_be_visible()); |
+ EXPECT_TRUE(web_contents->IsHiddenIgnoringCapturing()); |
content->Hide(); |
- EXPECT_FALSE(web_contents->should_normally_be_visible()); |
+ EXPECT_FALSE(web_contents->IsHiddenIgnoringCapturing()); |
content->Show(); |
- EXPECT_TRUE(web_contents->should_normally_be_visible()); |
+ EXPECT_TRUE(web_contents->IsHiddenIgnoringCapturing()); |
} |
// Ensure that SnapToPhysicalPixelBoundary() is called on WebContentsView parent |