diff options
Diffstat (limited to 'android_webview/browser/aw_request_interceptor.cc')
-rw-r--r-- | android_webview/browser/aw_request_interceptor.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android_webview/browser/aw_request_interceptor.cc b/android_webview/browser/aw_request_interceptor.cc index 72673d2..e61d04b 100644 --- a/android_webview/browser/aw_request_interceptor.cc +++ b/android_webview/browser/aw_request_interceptor.cc @@ -39,13 +39,13 @@ AwRequestInterceptor::QueryForInterceptedRequestData( const GURL& location, net::URLRequest* request) const { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); - int render_process_id, render_view_id; - if (!ResourceRequestInfo::GetRenderViewForRequest( - request, &render_process_id, &render_view_id)) + int render_process_id, render_frame_id; + if (!ResourceRequestInfo::GetRenderFrameForRequest( + request, &render_process_id, &render_frame_id)) return scoped_ptr<InterceptedRequestData>(); scoped_ptr<AwContentsIoThreadClient> io_thread_client = - AwContentsIoThreadClient::FromID(render_process_id, render_view_id); + AwContentsIoThreadClient::FromID(render_process_id, render_frame_id); if (!io_thread_client.get()) return scoped_ptr<InterceptedRequestData>(); |