| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "modules/battery/NavigatorBattery.h" | 5 #include "modules/battery/NavigatorBattery.h" |
| 7 | 6 |
| 8 #include "core/frame/LocalFrame.h" | 7 #include "core/frame/LocalFrame.h" |
| 9 #include "modules/battery/BatteryManager.h" | 8 #include "modules/battery/BatteryManager.h" |
| 10 | 9 |
| 11 namespace blink { | 10 namespace blink { |
| 12 | 11 |
| 13 NavigatorBattery::NavigatorBattery() | 12 NavigatorBattery::NavigatorBattery() |
| 14 { | 13 { |
| 15 } | 14 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 42 return *supplement; | 41 return *supplement; |
| 43 } | 42 } |
| 44 | 43 |
| 45 DEFINE_TRACE(NavigatorBattery) | 44 DEFINE_TRACE(NavigatorBattery) |
| 46 { | 45 { |
| 47 visitor->trace(m_batteryManager); | 46 visitor->trace(m_batteryManager); |
| 48 HeapSupplement<Navigator>::trace(visitor); | 47 HeapSupplement<Navigator>::trace(visitor); |
| 49 } | 48 } |
| 50 | 49 |
| 51 } // namespace blink | 50 } // namespace blink |
| OLD | NEW |