From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/dom/DocumentTiming.h | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'Source/WebCore/dom/DocumentTiming.h') diff --git a/Source/WebCore/dom/DocumentTiming.h b/Source/WebCore/dom/DocumentTiming.h index 8fa8dca38..bbf029c21 100644 --- a/Source/WebCore/dom/DocumentTiming.h +++ b/Source/WebCore/dom/DocumentTiming.h @@ -23,32 +23,22 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef DocumentTiming_h -#define DocumentTiming_h +#pragma once #if ENABLE(WEB_TIMING) +#include + namespace WebCore { struct DocumentTiming { - DocumentTiming() - : domLoading(0.0) - , domInteractive(0.0) - , domContentLoadedEventStart(0.0) - , domContentLoadedEventEnd(0.0) - , domComplete(0.0) - { - } - - double domLoading; - double domInteractive; - double domContentLoadedEventStart; - double domContentLoadedEventEnd; - double domComplete; + MonotonicTime domLoading; + MonotonicTime domInteractive; + MonotonicTime domContentLoadedEventStart; + MonotonicTime domContentLoadedEventEnd; + MonotonicTime domComplete; }; -} - -#endif +} // namespace WebCore -#endif +#endif // ENABLE(WEB_TIMING) -- cgit v1.2.1