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

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

Issue 1290593004: Oilpan: fix build after r200730. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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.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.
};
}

Powered by Google App Engine
This is Rietveld 408576698