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

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: WeakPtrWillBeRawPtr<Document>(nullptr) => nullptr 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
« no previous file with comments | « Source/core/dom/DocumentTiming.h ('k') | Source/core/loader/DocumentLoadTiming.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentTiming.cpp
diff --git a/Source/core/dom/DocumentTiming.cpp b/Source/core/dom/DocumentTiming.cpp
index 025934aebdfc1959c0552f0f7abb2070db041174..30887789e8ded8a4bb91306d517b75e6fc04122a 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(Document& document)
: m_domLoading(0.0)
, m_domInteractive(0.0)
, m_domContentLoadedEventStart(0.0)
« no previous file with comments | « Source/core/dom/DocumentTiming.h ('k') | Source/core/loader/DocumentLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698