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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 case WebCore::PaintPhaseSelfOutline: | 65 case WebCore::PaintPhaseSelfOutline: |
66 return "SelfOutline"; | 66 return "SelfOutline"; |
67 case WebCore::PaintPhaseSelection: | 67 case WebCore::PaintPhaseSelection: |
68 return "Selection"; | 68 return "Selection"; |
69 case WebCore::PaintPhaseCollapsedTableBorders: | 69 case WebCore::PaintPhaseCollapsedTableBorders: |
70 return "CollapsedTableBorders"; | 70 return "CollapsedTableBorders"; |
71 case WebCore::PaintPhaseTextClip: | 71 case WebCore::PaintPhaseTextClip: |
72 return "TextClip"; | 72 return "TextClip"; |
73 case WebCore::PaintPhaseMask: | 73 case WebCore::PaintPhaseMask: |
74 return "Mask"; | 74 return "Mask"; |
| 75 case WebCore::PaintPhaseClippingMask: |
| 76 return "ClippingMask"; |
75 default: | 77 default: |
76 ASSERT_NOT_REACHED(); | 78 ASSERT_NOT_REACHED(); |
77 return "<unknown>"; | 79 return "<unknown>"; |
78 } | 80 } |
79 } | 81 } |
80 | 82 |
81 } | 83 } |
82 | 84 |
83 namespace WebCore { | 85 namespace WebCore { |
84 | 86 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object)); | 152 m_context->beginAnnotation(GraphicsContextAnnotation(paintInfo, object)); |
151 } | 153 } |
152 | 154 |
153 void GraphicsContextAnnotator::finishAnnotation() | 155 void GraphicsContextAnnotator::finishAnnotation() |
154 { | 156 { |
155 ASSERT(m_context); | 157 ASSERT(m_context); |
156 m_context->endAnnotation(); | 158 m_context->endAnnotation(); |
157 } | 159 } |
158 | 160 |
159 } | 161 } |
OLD | NEW |