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

Unified Diff: content/browser/web_contents/web_contents_view_aura_browsertest.cc

Issue 23022006: Remove GetActiveEntry usage from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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: 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 e0f34abe4fcf1719814161ee2fdab90ecaf2397b..441744bb715c06fd8c2011c4aab8ef3f372549a2 100644
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
@@ -471,7 +471,7 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
EXPECT_TRUE(entry->screenshot().get());
entry = NavigationEntryImpl::FromNavigationEntry(
- web_contents->GetController().GetActiveEntry());
+ web_contents->GetController().GetVisibleEntry());
Charlie Reis 2013/08/16 22:10:14 Perhaps we should encourage GetLastCommittedEntry
nasko 2013/09/12 17:56:31 Done.
EXPECT_FALSE(entry->screenshot().get());
}

Powered by Google App Engine
This is Rietveld 408576698