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

Side by Side Diff: third_party/WebKit/Source/core/timing/Performance.h

Issue 2478363003: PerformanceMonitor: do not leak performance objects through the monitor. (Closed)
Patch Set: rebaselined Created 4 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 void updateLongTaskInstrumentation() override; 65 void updateLongTaskInstrumentation() override;
66 66
67 ScriptValue toJSONForBinding(ScriptState*) const; 67 ScriptValue toJSONForBinding(ScriptState*) const;
68 68
69 DECLARE_VIRTUAL_TRACE(); 69 DECLARE_VIRTUAL_TRACE();
70 70
71 private: 71 private:
72 explicit Performance(LocalFrame*); 72 explicit Performance(LocalFrame*);
73 73
74 // DOMWindowProperty overrides.
75 void frameDestroyed() override;
76
74 mutable Member<PerformanceNavigation> m_navigation; 77 mutable Member<PerformanceNavigation> m_navigation;
75 mutable Member<PerformanceTiming> m_timing; 78 mutable Member<PerformanceTiming> m_timing;
76 }; 79 };
77 80
78 } // namespace blink 81 } // namespace blink
79 82
80 #endif // Performance_h 83 #endif // Performance_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp ('k') | third_party/WebKit/Source/core/timing/Performance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698