| OLD | NEW |
| 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 #include "config.h" | |
| 6 #include "core/timing/DOMWindowPerformance.h" | 5 #include "core/timing/DOMWindowPerformance.h" |
| 7 | 6 |
| 8 #include "core/frame/LocalDOMWindow.h" | 7 #include "core/frame/LocalDOMWindow.h" |
| 9 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
| 10 #include "core/timing/Performance.h" | 9 #include "core/timing/Performance.h" |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 DOMWindowPerformance::DOMWindowPerformance(LocalDOMWindow& window) | 13 DOMWindowPerformance::DOMWindowPerformance(LocalDOMWindow& window) |
| 15 : DOMWindowProperty(window.frame()) | 14 : DOMWindowProperty(window.frame()) |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 50 } |
| 52 | 51 |
| 53 Performance* DOMWindowPerformance::performance() | 52 Performance* DOMWindowPerformance::performance() |
| 54 { | 53 { |
| 55 if (!m_performance) | 54 if (!m_performance) |
| 56 m_performance = Performance::create(m_window->frame()); | 55 m_performance = Performance::create(m_window->frame()); |
| 57 return m_performance.get(); | 56 return m_performance.get(); |
| 58 } | 57 } |
| 59 | 58 |
| 60 } // namespace blink | 59 } // namespace blink |
| OLD | NEW |