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/paint/DisplayItem.h" | 5 #include "platform/graphics/paint/DisplayItem.h" |
6 | 6 |
7 namespace blink { | 7 namespace blink { |
8 | 8 |
9 struct SameSizeAsDisplayItem { | 9 struct SameSizeAsDisplayItem { |
10 virtual ~SameSizeAsDisplayItem() {} // Allocate vtable pointer. | 10 virtual ~SameSizeAsDisplayItem() {} // Allocate vtable pointer. |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 210 |
211 switch (type) { | 211 switch (type) { |
212 DEBUG_STRING_CASE(BeginFilter); | 212 DEBUG_STRING_CASE(BeginFilter); |
213 DEBUG_STRING_CASE(EndFilter); | 213 DEBUG_STRING_CASE(EndFilter); |
214 DEBUG_STRING_CASE(BeginCompositing); | 214 DEBUG_STRING_CASE(BeginCompositing); |
215 DEBUG_STRING_CASE(EndCompositing); | 215 DEBUG_STRING_CASE(EndCompositing); |
216 DEBUG_STRING_CASE(BeginTransform); | 216 DEBUG_STRING_CASE(BeginTransform); |
217 DEBUG_STRING_CASE(EndTransform); | 217 DEBUG_STRING_CASE(EndTransform); |
218 DEBUG_STRING_CASE(BeginClipPath); | 218 DEBUG_STRING_CASE(BeginClipPath); |
219 DEBUG_STRING_CASE(EndClipPath); | 219 DEBUG_STRING_CASE(EndClipPath); |
| 220 DEBUG_STRING_CASE(Subsequence); |
| 221 DEBUG_STRING_CASE(EndSubsequence); |
220 DEBUG_STRING_CASE(UninitializedType); | 222 DEBUG_STRING_CASE(UninitializedType); |
221 DEFAULT_CASE; | 223 DEFAULT_CASE; |
222 } | 224 } |
223 } | 225 } |
224 | 226 |
225 WTF::String DisplayItem::asDebugString() const { | 227 WTF::String DisplayItem::asDebugString() const { |
226 WTF::StringBuilder stringBuilder; | 228 WTF::StringBuilder stringBuilder; |
227 stringBuilder.append('{'); | 229 stringBuilder.append('{'); |
228 dumpPropertiesAsDebugString(stringBuilder); | 230 dumpPropertiesAsDebugString(stringBuilder); |
229 stringBuilder.append('}'); | 231 stringBuilder.append('}'); |
(...skipping 17 matching lines...) Expand all Loading... |
247 stringBuilder.append("\", type: \""); | 249 stringBuilder.append("\", type: \""); |
248 stringBuilder.append(typeAsDebugString(getType())); | 250 stringBuilder.append(typeAsDebugString(getType())); |
249 stringBuilder.append('"'); | 251 stringBuilder.append('"'); |
250 if (m_skippedCache) | 252 if (m_skippedCache) |
251 stringBuilder.append(", skippedCache: true"); | 253 stringBuilder.append(", skippedCache: true"); |
252 } | 254 } |
253 | 255 |
254 #endif | 256 #endif |
255 | 257 |
256 } // namespace blink | 258 } // namespace blink |
OLD | NEW |