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

Unified Diff: Source/core/platform/network/ResourceLoadTiming.cpp

Issue 15265004: Fix ResourceLoadTiming resolution lose issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add inline help function to satisfy inspector Created 7 years, 7 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 | « Source/core/platform/network/ResourceLoadTiming.h ('k') | public/platform/WebURLLoadTiming.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/network/ResourceLoadTiming.cpp
diff --git a/Source/core/platform/network/ResourceLoadTiming.cpp b/Source/core/platform/network/ResourceLoadTiming.cpp
index 58a9ac2fef3e7d6099ff7240198f3091935b9559..2a7550ae23cf545f83450a78be46d75d0a4b7bef 100644
--- a/Source/core/platform/network/ResourceLoadTiming.cpp
+++ b/Source/core/platform/network/ResourceLoadTiming.cpp
@@ -28,9 +28,11 @@
namespace WebCore {
+#ifndef ENABLE_DOUBLE_RESOURCE_LOAD_TIMING
double ResourceLoadTiming::convertResourceLoadTimeToMonotonicTime(int deltaMilliseconds) const
{
return requestTime + deltaMilliseconds / 1000.0;
}
+#endif
}
« no previous file with comments | « Source/core/platform/network/ResourceLoadTiming.h ('k') | public/platform/WebURLLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698