Chromium Code Reviews| 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 "cc/tiles/software_image_decode_controller.h" | 5 #include "cc/tiles/software_image_decode_controller.h" |
| 6 | 6 |
| 7 #include <inttypes.h> | 7 #include <inttypes.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1087 base::MemoryState state) { | 1087 base::MemoryState state) { |
| 1088 switch (state) { | 1088 switch (state) { |
| 1089 case base::MemoryState::NORMAL: | 1089 case base::MemoryState::NORMAL: |
| 1090 // TODO(tasak): go back to normal state. | 1090 // TODO(tasak): go back to normal state. |
| 1091 break; | 1091 break; |
| 1092 case base::MemoryState::THROTTLED: | 1092 case base::MemoryState::THROTTLED: |
| 1093 // TODO(tasak): make the limits of this component's caches smaller to | 1093 // TODO(tasak): make the limits of this component's caches smaller to |
| 1094 // save memory usage. | 1094 // save memory usage. |
| 1095 break; | 1095 break; |
| 1096 case base::MemoryState::SUSPENDED: | 1096 case base::MemoryState::SUSPENDED: |
| 1097 // TODO(tasak): free this component's caches as much as possible before | 1097 // todo(tasak): free this component's caches as much as possible before |
|
vmpstr
2016/09/23 20:59:10
<_<
ericrk
2016/09/23 21:26:15
Acknowledged.
| |
| 1098 // suspending renderer. | 1098 // suspending renderer. |
| 1099 break; | 1099 break; |
| 1100 case base::MemoryState::UNKNOWN: | 1100 case base::MemoryState::UNKNOWN: |
| 1101 // NOT_REACHED. | 1101 // NOT_REACHED. |
| 1102 break; | 1102 break; |
| 1103 } | 1103 } |
| 1104 } | 1104 } |
| 1105 | 1105 |
| 1106 } // namespace cc | 1106 } // namespace cc |
| OLD | NEW |