Title: [105173] branches/chromium/963/Source/WebCore/loader/SubresourceLoader.cpp
Revision
105173
Author
[email protected]
Date
2012-01-17 11:09:32 -0800 (Tue, 17 Jan 2012)

Log Message

Merge 104887 - Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
https://bugs.webkit.org/show_bug.cgi?id=76176

Reviewed by Nate Chapin.

No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.

* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.

[email protected]
BUG=110154
Review URL: https://chromiumcodereview.appspot.com/9243015

Modified Paths

Diff

Modified: branches/chromium/963/Source/WebCore/loader/SubresourceLoader.cpp (105172 => 105173)


--- branches/chromium/963/Source/WebCore/loader/SubresourceLoader.cpp	2012-01-17 19:02:39 UTC (rev 105172)
+++ branches/chromium/963/Source/WebCore/loader/SubresourceLoader.cpp	2012-01-17 19:09:32 UTC (rev 105173)
@@ -160,10 +160,10 @@
             memoryCache()->revalidationSucceeded(m_resource, response);
             if (!reachedTerminalState()) {
                 ResourceLoader::didReceiveResponse(response);
-                didFinishLoading(currentTime());
+                didFinishLoading(monotonicallyIncreasingTime());
             }
             return;
-        } 
+        }
         // Did not get 304 response, continue as a regular resource load.
         memoryCache()->revalidationFailed(m_resource);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to