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

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

Issue 1051343005: Add covariant overrides to TestRVH::GetProcess and TestRFH::GetProcess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unittest_frame_liveness
Patch Set: Rebase Created 5 years, 8 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_controller_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc
index c1fce3c30fec4e115e8f926bf45b66b0ef7033ca..b0eeabb4ecd097dd2edc71ab08eb69059ba30b00 100644
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc
@@ -3308,8 +3308,7 @@ TEST_F(NavigationControllerTest, IsInPageNavigation) {
// Test allow_universal_access_from_file_urls flag.
const GURL different_origin_url("http://www.example.com");
- MockRenderProcessHost* rph =
- static_cast<MockRenderProcessHost*>(main_test_rfh()->GetProcess());
+ MockRenderProcessHost* rph = main_test_rfh()->GetProcess();
WebPreferences prefs = test_rvh()->GetWebkitPreferences();
prefs.allow_universal_access_from_file_urls = true;
test_rvh()->UpdateWebkitPreferences(prefs);
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698