OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "managed_memory_policy.h" | 5 #include "managed_memory_policy.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "priority_calculator.h" | 8 #include "priority_calculator.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 case CUTOFF_ALLOW_NICE_TO_HAVE: | 69 case CUTOFF_ALLOW_NICE_TO_HAVE: |
70 return ALLOW_PREPAINT_ONLY; | 70 return ALLOW_PREPAINT_ONLY; |
71 case CUTOFF_ALLOW_EVERYTHING: | 71 case CUTOFF_ALLOW_EVERYTHING: |
72 return ALLOW_ANYTHING; | 72 return ALLOW_ANYTHING; |
73 } | 73 } |
74 NOTREACHED(); | 74 NOTREACHED(); |
75 return ALLOW_NOTHING; | 75 return ALLOW_NOTHING; |
76 } | 76 } |
77 | 77 |
78 } // namespace cc | 78 } // namespace cc |
OLD | NEW |