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

Unified Diff: content/browser/frame_host/render_view_host_manager_unittest.cc

Issue 76063007: Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 years, 1 month 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/frame_host/render_view_host_manager_unittest.cc
diff --git a/content/browser/frame_host/render_view_host_manager_unittest.cc b/content/browser/frame_host/render_view_host_manager_unittest.cc
index 6e7d7cef3463f80a5d6f0307d9416eb8f34ad310..5f46c7335ef98fcbf725260d000a86907dc49061 100644
--- a/content/browser/frame_host/render_view_host_manager_unittest.cc
+++ b/content/browser/frame_host/render_view_host_manager_unittest.cc
@@ -134,9 +134,10 @@ class RenderViewHostManagerTest
}
bool ShouldSwapProcesses(RenderViewHostManager* manager,
- const NavigationEntryImpl* cur_entry,
+ const NavigationEntryImpl* current_entry,
const NavigationEntryImpl* new_entry) const {
- return manager->ShouldSwapProcessesForNavigation(cur_entry, new_entry);
+ return manager->ShouldSwapBrowsingInstancesForNavigation(current_entry,
+ new_entry);
}
// Creates a test RenderViewHost that's swapped out.
« no previous file with comments | « content/browser/frame_host/render_view_host_manager.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698