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

Side by Side Diff: Source/core/timing/DOMWindowPerformance.h

Issue 693483004: Enable Oilpan for core/timing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: de-weakify Performance::m_memoryInfo Created 5 years, 8 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
« no previous file with comments | « Source/core/timing/ConsoleMemory.h ('k') | Source/core/timing/DOMWindowPerformance.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 DOMWindowPerformance_h 5 #ifndef DOMWindowPerformance_h
6 #define DOMWindowPerformance_h 6 #define DOMWindowPerformance_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/frame/DOMWindowProperty.h" 9 #include "core/frame/DOMWindowProperty.h"
10 #include "platform/Supplementable.h" 10 #include "platform/Supplementable.h"
(...skipping 14 matching lines...) Expand all
25 static Performance* performance(DOMWindow&); 25 static Performance* performance(DOMWindow&);
26 26
27 DECLARE_TRACE(); 27 DECLARE_TRACE();
28 28
29 private: 29 private:
30 explicit DOMWindowPerformance(LocalDOMWindow&); 30 explicit DOMWindowPerformance(LocalDOMWindow&);
31 static const char* supplementName(); 31 static const char* supplementName();
32 32
33 Performance* performance(); 33 Performance* performance();
34 34
35 LocalDOMWindow& m_window; 35 // TODO(sof): try to move this direct reference and instead rely on frame().
36 RefPtrWillBeMember<Performance> m_performance; 36 RawPtrWillBeMember<LocalDOMWindow> m_window;
37 PersistentWillBeMember<Performance> m_performance;
37 }; 38 };
38 39
39 } // namespace blink 40 } // namespace blink
40 41
41 #endif // DOMWindowPerformance_h 42 #endif // DOMWindowPerformance_h
OLDNEW
« no previous file with comments | « Source/core/timing/ConsoleMemory.h ('k') | Source/core/timing/DOMWindowPerformance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698