Index: Source/core/loader/FrameFetchContext.cpp |
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp |
index 1454df9e6d81f4c67a7d5222fd912ff52a2377fc..700fd2ced4f061b79a0029890f3759ddc3f8d25d 100644 |
--- a/Source/core/loader/FrameFetchContext.cpp |
+++ b/Source/core/loader/FrameFetchContext.cpp |
@@ -135,6 +135,13 @@ void FrameFetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long id |
InspectorInstrumentation::didReceiveData(m_frame, identifier, data, dataLength, encodedDataLength); |
} |
+void FrameFetchContext::dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength) |
+{ |
+ if (Page* page = m_frame->page()) |
+ page->progress().incrementProgress(identifier, 0, dataLength); |
+ InspectorInstrumentation::didReceiveData(m_frame, identifier, 0, dataLength, encodedDataLength); |
+} |
+ |
void FrameFetchContext::dispatchDidFinishLoading(DocumentLoader* loader, unsigned long identifier, double finishTime) |
{ |
if (Page* page = m_frame->page()) |