Chromium Code Reviews| Index: Source/core/dom/DocumentTiming.h |
| diff --git a/Source/core/dom/DocumentTiming.h b/Source/core/dom/DocumentTiming.h |
| index 14f72f88c66575e427ec96b8e2cbf1821c12b20e..6cc1a8c59966d4121ae92593dfb82e87beb41693 100644 |
| --- a/Source/core/dom/DocumentTiming.h |
| +++ b/Source/core/dom/DocumentTiming.h |
| @@ -32,7 +32,8 @@ namespace blink { |
| class Document; |
| -class DocumentTiming { |
| +class DocumentTiming final { |
| + DISALLOW_ALLOCATION(); |
| public: |
| DocumentTiming(WeakPtrWillBeRawPtr<Document>); |
| @@ -50,6 +51,8 @@ public: |
| double domComplete() const { return m_domComplete; } |
| double firstLayout() const { return m_firstLayout; } |
| + DECLARE_TRACE(); |
| + |
| private: |
| void notifyDocumentTimingChanged(); |
| @@ -60,7 +63,7 @@ private: |
| double m_domComplete; |
| double m_firstLayout; |
| - WeakPtrWillBeRawPtr<Document> m_document; |
| + WeakPtrWillBeMember<Document> m_document; |
|
haraken
2015/08/19 00:00:20
I wonder why this needs to be a WeakPtr in non-oil
sof
2015/08/19 05:18:46
It is/was a good question, see https://codereview.
|
| }; |
| } |