| 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 "config.h" | 5 #include "config.h" |
| 6 #include "platform/graphics/paint/DisplayItem.h" | 6 #include "platform/graphics/paint/DisplayItem.h" |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 struct SameSizeAsDisplayItem { | 10 struct SameSizeAsDisplayItem { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void DisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringBuilder)
const | 197 void DisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder& stringBuilder)
const |
| 198 { | 198 { |
| 199 stringBuilder.append(String::format("client: \"%p", client())); | 199 stringBuilder.append(String::format("client: \"%p", client())); |
| 200 if (!clientDebugString().isEmpty()) { | 200 if (!clientDebugString().isEmpty()) { |
| 201 stringBuilder.append(' '); | 201 stringBuilder.append(' '); |
| 202 stringBuilder.append(clientDebugString()); | 202 stringBuilder.append(clientDebugString()); |
| 203 } | 203 } |
| 204 stringBuilder.append("\", type: \""); | 204 stringBuilder.append("\", type: \""); |
| 205 stringBuilder.append(typeAsDebugString(type())); | 205 stringBuilder.append(typeAsDebugString(type())); |
| 206 stringBuilder.append('"'); | 206 stringBuilder.append('"'); |
| 207 if (m_id.scopeContainer) | 207 if (m_skippedCache) |
| 208 stringBuilder.append(String::format(", scope: \"%p,%d\"", m_id.scopeCont
ainer, m_id.scopeId)); | 208 stringBuilder.append(", skippedCache: true"); |
| 209 if (m_scopeContainer) |
| 210 stringBuilder.append(String::format(", scope: \"%p,%d\"", m_scopeContain
er, m_scopeId)); |
| 209 } | 211 } |
| 210 | 212 |
| 211 #endif | 213 #endif |
| 212 | 214 |
| 213 } // namespace blink | 215 } // namespace blink |
| OLD | NEW |