Chromium Code Reviews| Index: content/test/test_web_contents.cc |
| diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc |
| index 2fc99008b35edb35733e07c0c0b8bfd41f91190f..c0546a56c99f1da184f69cf2b7cf6f110108caf9 100644 |
| --- a/content/test/test_web_contents.cc |
| +++ b/content/test/test_web_contents.cc |
| @@ -265,7 +265,7 @@ void TestWebContents::SetOpener(TestWebContents* opener) { |
| void TestWebContents::AddPendingContents(TestWebContents* contents) { |
| // This is normally only done in WebContentsImpl::CreateNewWindow. |
| - ProcessRoutingIdPair key(contents->GetRenderViewHost()->GetProcess()->GetID(), |
| + ProcessRoutingIdPair key(contents->GetMainFrame()->GetProcess()->GetID(), |
|
Charlie Reis
2016/11/28 21:00:41
We shouldn't change this one. We should always ge
Lei Zhang
2016/11/30 10:27:00
Reverted.
|
| contents->GetRenderViewHost()->GetRoutingID()); |
| pending_contents_[key] = contents; |
| AddDestructionObserver(contents); |