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/ConsoleMemory.h" | 5 #include "core/timing/ConsoleMemory.h" |
7 | 6 |
8 #include "core/frame/Console.h" | 7 #include "core/frame/Console.h" |
9 #include "core/timing/MemoryInfo.h" | 8 #include "core/timing/MemoryInfo.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 // static | 12 // static |
14 ConsoleMemory& ConsoleMemory::from(Console& console) | 13 ConsoleMemory& ConsoleMemory::from(Console& console) |
15 { | 14 { |
(...skipping 10 matching lines...) Expand all Loading... |
26 { | 25 { |
27 return ConsoleMemory::from(console).memory(); | 26 return ConsoleMemory::from(console).memory(); |
28 } | 27 } |
29 | 28 |
30 MemoryInfo* ConsoleMemory::memory() | 29 MemoryInfo* ConsoleMemory::memory() |
31 { | 30 { |
32 return MemoryInfo::create(); | 31 return MemoryInfo::create(); |
33 } | 32 } |
34 | 33 |
35 } // namespace blink | 34 } // namespace blink |
OLD | NEW |