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

Unified Diff: content/test/test_render_view_host.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 | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index 2ffee6c9051cf3a9e97b11e39d75c3a1217513ca..d987aae3e16cb24d234a31560356abfb4e3f1a0c 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -253,6 +253,10 @@ bool TestRenderViewHost::IsFullscreenGranted() const {
return RenderViewHostImpl::IsFullscreenGranted();
}
+MockRenderProcessHost* TestRenderViewHost::GetProcess() const {
+ return static_cast<MockRenderProcessHost*>(RenderViewHostImpl::GetProcess());
+}
+
void TestRenderViewHost::SimulateWasHidden() {
WasHidden();
}
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698