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

Unified Diff: Source/core/dom/DocumentTiming.cpp

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/DocumentTiming.cpp
diff --git a/Source/core/dom/DocumentTiming.cpp b/Source/core/dom/DocumentTiming.cpp
index 025934aebdfc1959c0552f0f7abb2070db041174..7f864970f8d61da15ee30f317b22332278a65dfc 100644
--- a/Source/core/dom/DocumentTiming.cpp
+++ b/Source/core/dom/DocumentTiming.cpp
@@ -8,10 +8,11 @@
#include "core/dom/Document.h"
#include "core/loader/DocumentLoader.h"
#include "platform/TraceEvent.h"
+#include "wtf/RawPtr.h"
namespace blink {
-DocumentTiming::DocumentTiming(WeakPtrWillBeRawPtr<Document> document)
+DocumentTiming::DocumentTiming(RawPtrWillBeMember<Document> document)
: m_domLoading(0.0)
, m_domInteractive(0.0)
, m_domContentLoadedEventStart(0.0)

Powered by Google App Engine
This is Rietveld 408576698