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

Unified Diff: Source/WebCore/loader/MainResourceLoader.cpp

Issue 6711029: Merge 80043 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 9 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 | « LayoutTests/platform/chromium/test_expectations.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/MainResourceLoader.cpp
===================================================================
--- Source/WebCore/loader/MainResourceLoader.cpp (revision 81432)
+++ Source/WebCore/loader/MainResourceLoader.cpp (working copy)
@@ -58,6 +58,7 @@
, m_dataLoadTimer(this, &MainResourceLoader::handleDataLoadNow)
, m_loadingMultipartContent(false)
, m_waitingForContentPolicy(false)
+ , m_timeOfLastDataReceived(0.0)
{
}
@@ -459,7 +460,7 @@
#endif
ASSERT(!documentLoader()->timing()->responseEnd);
- documentLoader()->timing()->responseEnd = finishTime ? finishTime : m_timeOfLastDataReceived;
+ documentLoader()->timing()->responseEnd = finishTime ? finishTime : (m_timeOfLastDataReceived ? m_timeOfLastDataReceived : currentTime());
frameLoader()->finishedLoading();
ResourceLoader::didFinishLoading(finishTime);
« no previous file with comments | « LayoutTests/platform/chromium/test_expectations.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698