| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index cf16222a557fb347343025f57071af484c634a1d..75efdfb07cc1da9876966bc6b4efe707ba90221d 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -2065,13 +2065,6 @@ blink::WebMediaPlayer* RenderViewImpl::CreateMediaPlayer(
|
| #endif // defined(OS_ANDROID)
|
| }
|
|
|
| -void RenderViewImpl::didAccessInitialDocument(WebLocalFrame* frame) {
|
| - // Notify the browser process that it is no longer safe to show the pending
|
| - // URL of the main frame, since a URL spoof is now possible.
|
| - if (!frame->parent() && page_id_ == -1)
|
| - Send(new ViewHostMsg_DidAccessInitialDocument(routing_id_));
|
| -}
|
| -
|
| void RenderViewImpl::didDisownOpener(blink::WebLocalFrame* frame) {
|
| // We only need to notify the browser if the active, top-level frame clears
|
| // its opener. We can ignore cases where a swapped out frame clears its
|
|
|