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

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

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/Document.cpp ('k') | Source/core/dom/DocumentTiming.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentTiming.h
diff --git a/Source/core/dom/DocumentTiming.h b/Source/core/dom/DocumentTiming.h
index 6cc1a8c59966d4121ae92593dfb82e87beb41693..034eb1aff6aa50f8b9542aa68f2ae0710c9cfe82 100644
--- a/Source/core/dom/DocumentTiming.h
+++ b/Source/core/dom/DocumentTiming.h
@@ -35,7 +35,7 @@ class Document;
class DocumentTiming final {
DISALLOW_ALLOCATION();
public:
- DocumentTiming(WeakPtrWillBeRawPtr<Document>);
+ explicit DocumentTiming(Document&);
void markDomLoading();
void markDomInteractive();
@@ -63,7 +63,7 @@ private:
double m_domComplete;
double m_firstLayout;
- WeakPtrWillBeMember<Document> m_document;
+ RawPtrWillBeMember<Document> m_document;
};
}
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/DocumentTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698