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 #ifndef PaintController_h | 5 #ifndef PaintController_h |
6 #define PaintController_h | 6 #define PaintController_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 #include "platform/RuntimeEnabledFeatures.h" | 9 #include "platform/RuntimeEnabledFeatures.h" |
10 #include "platform/geometry/IntRect.h" | 10 #include "platform/geometry/IntRect.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 // Record the debug names of invalidated clients for assertion and debugging
. | 232 // Record the debug names of invalidated clients for assertion and debugging
. |
233 Vector<String> m_invalidations; | 233 Vector<String> m_invalidations; |
234 | 234 |
235 // This is used to check duplicated ids during add(). We could also check | 235 // This is used to check duplicated ids during add(). We could also check |
236 // during commitNewDisplayItems(), but checking during add() helps developer | 236 // during commitNewDisplayItems(), but checking during add() helps developer |
237 // easily find where the duplicated ids are from. | 237 // easily find where the duplicated ids are from. |
238 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient; | 238 DisplayItemIndicesByClientMap m_newDisplayItemIndicesByClient; |
239 #endif | 239 #endif |
240 | 240 |
241 DisplayItemCacheGeneration m_currentCacheGeneration; | 241 DisplayItemCacheGeneration m_currentCacheGeneration; |
| 242 |
| 243 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
| 244 // A stack recording subsequence clients that are currently painting. |
| 245 Vector<const DisplayItemClient*> m_currentSubsequenceClients; |
| 246 #endif |
242 }; | 247 }; |
243 | 248 |
244 } // namespace blink | 249 } // namespace blink |
245 | 250 |
246 #endif // PaintController_h | 251 #endif // PaintController_h |
OLD | NEW |