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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 1624583003: Reload Lo-Fi images inline instead of reloading the whole page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding blink test Created 4 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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index cc03905c73cafe5decc8f1e2831f6f69c4a8cb25..5edf1657bdb8bebd909d5d1878d38c05a5f4a33f 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -968,6 +968,11 @@ void WebLocalFrameImpl::reloadImage(const WebNode& webNode)
}
}
+void WebLocalFrameImpl::reloadLoFiImages()
+{
+ frame()->document()->fetcher()->reloadLoFiImages();
+}
+
void WebLocalFrameImpl::loadRequest(const WebURLRequest& request)
{
// TODO(clamy): Remove this function once RenderFrame calls load for all

Powered by Google App Engine
This is Rietveld 408576698