Chromium Code Reviews

Unified Diff: Source/core/loader/DocumentLoadTiming.h

Issue 1290683003: Remove WeakPtrs from DocumentTiming/DocumentLoadTiming (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/loader/DocumentLoadTiming.h
diff --git a/Source/core/loader/DocumentLoadTiming.h b/Source/core/loader/DocumentLoadTiming.h
index f5d461b4ef33e2298ab9a0300aa97108430ebb5c..b3c19edb7ce842e162cc664e94dea413799e49ae 100644
--- a/Source/core/loader/DocumentLoadTiming.h
+++ b/Source/core/loader/DocumentLoadTiming.h
@@ -29,7 +29,6 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "wtf/CurrentTime.h"
-#include "wtf/WeakPtr.h"
namespace blink {
@@ -39,7 +38,7 @@ class KURL;
class CORE_EXPORT DocumentLoadTiming final {
DISALLOW_ALLOCATION();
public:
- DocumentLoadTiming(WeakPtrWillBeRawPtr<DocumentLoader>);
+ DocumentLoadTiming(RawPtrWillBeMember<DocumentLoader>);
sof 2015/08/18 19:13:48 Make this explicit DocumentLoadTiming(DocumentL
double monotonicTimeToZeroBasedDocumentTime(double) const;
double monotonicTimeToPseudoWallTime(double) const;
@@ -95,7 +94,7 @@ private:
bool m_hasCrossOriginRedirect;
bool m_hasSameOriginAsPreviousDocument;
- WeakPtrWillBeMember<DocumentLoader> m_documentLoader;
+ RawPtrWillBeMember<DocumentLoader> m_documentLoader;
};
} // namespace blink

Powered by Google App Engine