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 PaintInvalidationState_h | 5 #ifndef PaintInvalidationState_h |
6 #define PaintInvalidationState_h | 6 #define PaintInvalidationState_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/geometry/LayoutRect.h" | 9 #include "platform/geometry/LayoutRect.h" |
10 #include "platform/transforms/AffineTransform.h" | 10 #include "platform/transforms/AffineTransform.h" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // with |m_paintOffset| yields the "final" offset. | 135 // with |m_paintOffset| yields the "final" offset. |
136 AffineTransform m_svgTransform; | 136 AffineTransform m_svgTransform; |
137 | 137 |
138 Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations; | 138 Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations; |
139 | 139 |
140 PaintLayer& m_enclosingSelfPaintingLayer; | 140 PaintLayer& m_enclosingSelfPaintingLayer; |
141 | 141 |
142 #if ENABLE(ASSERT) | 142 #if ENABLE(ASSERT) |
143 bool m_didUpdateForChildren; | 143 bool m_didUpdateForChildren; |
144 #endif | 144 #endif |
| 145 |
| 146 #if ENABLE(ASSERT) && !defined(NDEBUG) |
| 147 // #define CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
| 148 #endif |
| 149 |
| 150 #ifdef CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
| 151 void assertFastPathAndSlowPathRectsEqual(const LayoutRect& fastPathRect, con
st LayoutRect& slowPathRect) const; |
| 152 bool m_canCheckFastPathSlowPathEquality; |
| 153 #endif |
145 }; | 154 }; |
146 | 155 |
147 } // namespace blink | 156 } // namespace blink |
148 | 157 |
149 #endif // PaintInvalidationState_h | 158 #endif // PaintInvalidationState_h |
OLD | NEW |