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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSTiming.h

Issue 2617103002: Use a new Supplement constructor for Supplement<Document> (Part 1) (Closed)
Patch Set: temp Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSTiming_h 5 #ifndef CSSTiming_h
6 #define CSSTiming_h 6 #define CSSTiming_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "platform/Supplementable.h" 9 #include "platform/Supplementable.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 22 matching lines...) Expand all
33 33
34 static CSSTiming& from(Document&); 34 static CSSTiming& from(Document&);
35 DECLARE_VIRTUAL_TRACE(); 35 DECLARE_VIRTUAL_TRACE();
36 36
37 private: 37 private:
38 explicit CSSTiming(Document&); 38 explicit CSSTiming(Document&);
39 39
40 double m_parseTimeBeforeFCP = 0; 40 double m_parseTimeBeforeFCP = 0;
41 double m_updateTimeBeforeFCP = 0; 41 double m_updateTimeBeforeFCP = 0;
42 42
43 Member<Document> m_document;
44 Member<PaintTiming> m_paintTiming; 43 Member<PaintTiming> m_paintTiming;
45 }; 44 };
46 45
47 } // namespace blink 46 } // namespace blink
48 47
49 #endif // CSSTiming_h 48 #endif // CSSTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698