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 "platform/graphics/PaintInvalidationReason.h" | 5 #include "platform/graphics/PaintInvalidationReason.h" |
6 | 6 |
7 #include "wtf/Assertions.h" | 7 #include "wtf/Assertions.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 case PaintInvalidationOutline: | 47 case PaintInvalidationOutline: |
48 return "outline"; | 48 return "outline"; |
49 case PaintInvalidationSubtree: | 49 case PaintInvalidationSubtree: |
50 return "subtree"; | 50 return "subtree"; |
51 case PaintInvalidationLayoutObjectInsertion: | 51 case PaintInvalidationLayoutObjectInsertion: |
52 return "layoutObject insertion"; | 52 return "layoutObject insertion"; |
53 case PaintInvalidationLayoutObjectRemoval: | 53 case PaintInvalidationLayoutObjectRemoval: |
54 return "layoutObject removal"; | 54 return "layoutObject removal"; |
55 case PaintInvalidationSVGResourceChange: | 55 case PaintInvalidationSVGResourceChange: |
56 return "SVG resource change"; | 56 return "SVG resource change"; |
| 57 case PaintInvalidationBackgroundOnScrollingContentsLayer: |
| 58 return "background on scrolling contents layer"; |
57 case PaintInvalidationForTesting: | 59 case PaintInvalidationForTesting: |
58 return "for testing"; | 60 return "for testing"; |
59 case PaintInvalidationDelayedFull: | 61 case PaintInvalidationDelayedFull: |
60 return "delayed full"; | 62 return "delayed full"; |
61 } | 63 } |
62 ASSERT_NOT_REACHED(); | 64 ASSERT_NOT_REACHED(); |
63 return ""; | 65 return ""; |
64 } | 66 } |
65 | 67 |
66 } // namespace blink | 68 } // namespace blink |
OLD | NEW |