Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2484)

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2655393004: Make ResourceScheduler work in OOPIF (Closed)
Patch Set: Make ResourceScheduler work in OOPIF Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/test/data/site_isolation/subframe_resources.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index d28c0f4b6e3516e18495da49345c426bce1be7f9..5a5060f3f6e2d1b1a0a1f9532b479baa2463db13 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -4530,10 +4530,8 @@ void RenderFrameImpl::didChangeScrollOffset(blink::WebLocalFrame* frame) {
void RenderFrameImpl::willInsertBody(blink::WebLocalFrame* frame) {
DCHECK(!frame_ || frame_ == frame);
- if (!frame->parent()) {
- render_view_->Send(new ViewHostMsg_WillInsertBody(
- render_view_->GetRoutingID()));
- }
+ Send(new FrameHostMsg_WillInsertBody(routing_id_,
+ render_view_->GetRoutingID()));
}
void RenderFrameImpl::reportFindInPageMatchCount(int request_id,
« no previous file with comments | « content/common/view_messages.h ('k') | content/test/data/site_isolation/subframe_resources.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698