Chromium Code Reviews| Index: content/browser/loader/resource_scheduler.cc |
| diff --git a/content/browser/loader/resource_scheduler.cc b/content/browser/loader/resource_scheduler.cc |
| index 1cd91c3e6c0b7725ae9ea25d32ae004930c45e8b..c00ac29f2648a92718aa7352a4390314e6c6d477 100644 |
| --- a/content/browser/loader/resource_scheduler.cc |
| +++ b/content/browser/loader/resource_scheduler.cc |
| @@ -421,6 +421,9 @@ class ResourceScheduler::Client { |
| } |
| void OnWillInsertBody() { |
| + // Can be called multiple times per RVH in the case of OOPIFs. |
|
nasko
2017/01/31 15:50:34
nit: Let's not use the abbreviation OOPIF, as not
Charlie Harrison
2017/01/31 20:19:31
Done.
|
| + if (has_html_body_) |
| + return; |
| has_html_body_ = true; |
| LoadAnyStartablePendingRequests(RequestStartTrigger::BODY_REACHED); |
| } |