| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 case WebCore::PaintPhaseSelfOutline: | 64 case WebCore::PaintPhaseSelfOutline: |
| 65 return "SelfOutline"; | 65 return "SelfOutline"; |
| 66 case WebCore::PaintPhaseSelection: | 66 case WebCore::PaintPhaseSelection: |
| 67 return "Selection"; | 67 return "Selection"; |
| 68 case WebCore::PaintPhaseCollapsedTableBorders: | 68 case WebCore::PaintPhaseCollapsedTableBorders: |
| 69 return "CollapsedTableBorders"; | 69 return "CollapsedTableBorders"; |
| 70 case WebCore::PaintPhaseTextClip: | 70 case WebCore::PaintPhaseTextClip: |
| 71 return "TextClip"; | 71 return "TextClip"; |
| 72 case WebCore::PaintPhaseMask: | 72 case WebCore::PaintPhaseMask: |
| 73 return "Mask"; | 73 return "Mask"; |
| 74 case WebCore::PaintPhaseBorderRadiusMask: |
| 75 return "BorderRadiusMask"; |
| 74 default: | 76 default: |
| 75 ASSERT_NOT_REACHED(); | 77 ASSERT_NOT_REACHED(); |
| 76 return "<unknown>"; | 78 return "<unknown>"; |
| 77 } | 79 } |
| 78 } | 80 } |
| 79 | 81 |
| 80 } | 82 } |
| 81 | 83 |
| 82 namespace WebCore { | 84 namespace WebCore { |
| 83 | 85 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object)); | 151 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object)); |
| 150 } | 152 } |
| 151 | 153 |
| 152 void GraphicsContextAnnotator::finishAnnotation() | 154 void GraphicsContextAnnotator::finishAnnotation() |
| 153 { | 155 { |
| 154 ASSERT(m_context); | 156 ASSERT(m_context); |
| 155 m_context->endAnnotation(); | 157 m_context->endAnnotation(); |
| 156 } | 158 } |
| 157 | 159 |
| 158 } | 160 } |
| OLD | NEW |