Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 23a03d9b75fac5e2fd7bb91fa7001bfe8296fbcc..b0af69ed31a6fc3f5c2f9b10121abec6cb09cad4 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2559,6 +2559,9 @@ void WebContentsImpl::ReloadFocusedFrame(bool bypass_cache) { |
} |
void WebContentsImpl::ReloadLoFiImages() { |
+ // Lo-Fi images must first be disabled synchronously so new frames are not |
+ // created with Lo-Fi enabled. |
+ SendToAllFrames(new FrameMsg_DisableLoFiImages(MSG_ROUTING_NONE)); |
clamy
2016/07/07 15:16:30
I'm not sure this works with PlzNavigate enabled.
megjablon
2016/07/07 19:31:52
Will didCommitProvisionalLoad be called later for
clamy
2016/07/08 14:46:26
Well if you have a navigation that's ongoing we ca
|
SendToAllFrames(new FrameMsg_ReloadLoFiImages(MSG_ROUTING_NONE)); |
} |