| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 case blink::PaintPhaseChildOutlines: | 63 case blink::PaintPhaseChildOutlines: |
| 64 return "ChildOutlines"; | 64 return "ChildOutlines"; |
| 65 case blink::PaintPhaseSelfOutline: | 65 case blink::PaintPhaseSelfOutline: |
| 66 return "SelfOutline"; | 66 return "SelfOutline"; |
| 67 case blink::PaintPhaseSelection: | 67 case blink::PaintPhaseSelection: |
| 68 return "Selection"; | 68 return "Selection"; |
| 69 case blink::PaintPhaseTextClip: | 69 case blink::PaintPhaseTextClip: |
| 70 return "TextClip"; | 70 return "TextClip"; |
| 71 case blink::PaintPhaseMask: | 71 case blink::PaintPhaseMask: |
| 72 return "Mask"; | 72 return "Mask"; |
| 73 case blink::PaintPhaseClippingMask: | |
| 74 return "ClippingMask"; | |
| 75 default: | 73 default: |
| 76 ASSERT_NOT_REACHED(); | 74 ASSERT_NOT_REACHED(); |
| 77 return "<unknown>"; | 75 return "<unknown>"; |
| 78 } | 76 } |
| 79 } | 77 } |
| 80 | 78 |
| 81 } | 79 } |
| 82 | 80 |
| 83 namespace blink { | 81 namespace blink { |
| 84 | 82 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 m_context->beginAnnotation(annotations); | 128 m_context->beginAnnotation(annotations); |
| 131 } | 129 } |
| 132 | 130 |
| 133 void GraphicsContextAnnotator::finishAnnotation() | 131 void GraphicsContextAnnotator::finishAnnotation() |
| 134 { | 132 { |
| 135 ASSERT(m_context); | 133 ASSERT(m_context); |
| 136 m_context->endAnnotation(); | 134 m_context->endAnnotation(); |
| 137 } | 135 } |
| 138 | 136 |
| 139 } // namespace blink | 137 } // namespace blink |
| OLD | NEW |