Index: third_party/WebKit/Source/core/timing/PerformanceEntry.h |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.h b/third_party/WebKit/Source/core/timing/PerformanceEntry.h |
index e3b75748617f6286a07b57ba6b46d3d9cbec66a3..7b90c309d09200369a44b126fbd8fc0ca11b7ea2 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.h |
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.h |
@@ -71,7 +71,10 @@ class CORE_EXPORT PerformanceEntry |
String name() const; |
String entryType() const; |
DOMHighResTimeStamp startTime() const; |
- DOMHighResTimeStamp duration() const; |
+ // PerformanceNavigationTiming will override this due to |
+ // the nature of reporting it early, which means not having a |
+ // finish time available at construction time. |
panicker
2017/02/03 23:53:52
Add:
// Other classes must NOT override this.
sunjian
2017/02/10 18:32:46
Done.
|
+ virtual DOMHighResTimeStamp duration() const; |
ScriptValue toJSONForBinding(ScriptState*) const; |