| Index: chrome/browser/prerender/prerender_resource_throttle.cc
|
| ===================================================================
|
| --- chrome/browser/prerender/prerender_resource_throttle.cc (revision 245386)
|
| +++ chrome/browser/prerender/prerender_resource_throttle.cc (working copy)
|
| @@ -39,14 +39,6 @@
|
| void PrerenderResourceThrottle::WillStartRequest(bool* defer) {
|
| const content::ResourceRequestInfo* info =
|
| content::ResourceRequestInfo::ForRequest(request_);
|
| - int child_id = info->GetChildID();
|
| - int route_id = info->GetRouteID();
|
| -
|
| - // If the prerender was used since the throttle was added, leave it
|
| - // alone.
|
| - if (!tracker_->IsPrerenderingOnIOThread(child_id, route_id))
|
| - return;
|
| -
|
| *defer = true;
|
| content::BrowserThread::PostTask(
|
| content::BrowserThread::UI,
|
| @@ -60,14 +52,6 @@
|
| bool* defer) {
|
| const content::ResourceRequestInfo* info =
|
| content::ResourceRequestInfo::ForRequest(request_);
|
| - int child_id = info->GetChildID();
|
| - int route_id = info->GetRouteID();
|
| -
|
| - // If the prerender was used since the throttle was added, leave it
|
| - // alone.
|
| - if (!tracker_->IsPrerenderingOnIOThread(child_id, route_id))
|
| - return;
|
| -
|
| *defer = true;
|
| std::string header;
|
| request_->GetResponseHeaderByName(kFollowOnlyWhenPrerenderShown, &header);
|
|
|