Commit 59d71d64 authored by Lucas Furukawa Gadani's avatar Lucas Furukawa Gadani Committed by Commit Bot

Remove usages of WebContents::GetRenderViewHost().

This CL was uploaded by git cl split.

R=chrisha@chromium.org

Bug: 1142671
Change-Id: Icc28a6f36e869729bdd87cbdf26243a9c7fcb71d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500215
Auto-Submit: Lucas Gadani <lfg@chromium.org>
Reviewed-by: default avatarChris Hamilton <chrisha@chromium.org>
Commit-Queue: Chris Hamilton <chrisha@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821250}
parent a9818a74
...@@ -112,7 +112,7 @@ TEST_F(ProcessPriorityPolicyTest, GraphReflectedToRenderProcessHost) { ...@@ -112,7 +112,7 @@ TEST_F(ProcessPriorityPolicyTest, GraphReflectedToRenderProcessHost) {
// Set the active contents in the RenderViewHostTestHarness. // Set the active contents in the RenderViewHostTestHarness.
SetContents(CreateTestWebContents()); SetContents(CreateTestWebContents());
auto* rvh = web_contents()->GetRenderViewHost(); auto* rvh = web_contents()->GetMainFrame()->GetRenderViewHost();
DCHECK(rvh); DCHECK(rvh);
auto* rph = rvh->GetProcess(); auto* rph = rvh->GetProcess();
DCHECK(rph); DCHECK(rph);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment