| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: | 57 case PaintInvalidationBackgroundOnScrollingContentsLayer: |
| 58 return "background on scrolling contents layer"; | 58 return "background on scrolling contents layer"; |
| 59 case PaintInvalidationCaret: |
| 60 return "caret"; |
| 59 case PaintInvalidationForTesting: | 61 case PaintInvalidationForTesting: |
| 60 return "for testing"; | 62 return "for testing"; |
| 61 case PaintInvalidationDelayedFull: | 63 case PaintInvalidationDelayedFull: |
| 62 return "delayed full"; | 64 return "delayed full"; |
| 63 } | 65 } |
| 64 ASSERT_NOT_REACHED(); | 66 ASSERT_NOT_REACHED(); |
| 65 return ""; | 67 return ""; |
| 66 } | 68 } |
| 67 | 69 |
| 68 } // namespace blink | 70 } // namespace blink |
| OLD | NEW |