| 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 "platform/wtf/Assertions.h" | 7 #include "platform/wtf/Assertions.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 return "caret"; | 60 return "caret"; |
| 61 case kPaintInvalidationViewBackground: | 61 case kPaintInvalidationViewBackground: |
| 62 return "view background"; | 62 return "view background"; |
| 63 case kPaintInvalidationDocumentMarkerChange: | 63 case kPaintInvalidationDocumentMarkerChange: |
| 64 return "DocumentMarker change"; | 64 return "DocumentMarker change"; |
| 65 case kPaintInvalidationForTesting: | 65 case kPaintInvalidationForTesting: |
| 66 return "for testing"; | 66 return "for testing"; |
| 67 case kPaintInvalidationDelayedFull: | 67 case kPaintInvalidationDelayedFull: |
| 68 return "delayed full"; | 68 return "delayed full"; |
| 69 } | 69 } |
| 70 ASSERT_NOT_REACHED(); | 70 NOTREACHED(); |
| 71 return ""; | 71 return ""; |
| 72 } | 72 } |
| 73 | 73 |
| 74 std::ostream& operator<<(std::ostream& out, PaintInvalidationReason reason) { | 74 std::ostream& operator<<(std::ostream& out, PaintInvalidationReason reason) { |
| 75 return out << PaintInvalidationReasonToString(reason); | 75 return out << PaintInvalidationReasonToString(reason); |
| 76 } | 76 } |
| 77 | 77 |
| 78 } // namespace blink | 78 } // namespace blink |
| OLD | NEW |