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 DrawingRecorder_h | 5 #ifndef DrawingRecorder_h |
6 #define DrawingRecorder_h | 6 #define DrawingRecorder_h |
7 | 7 |
8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
9 | 9 |
10 #include "platform/geometry/FloatRect.h" | 10 #include "platform/geometry/FloatRect.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 m_knownToBeOpaque = true; | 45 m_knownToBeOpaque = true; |
46 } | 46 } |
47 | 47 |
48 private: | 48 private: |
49 GraphicsContext& m_context; | 49 GraphicsContext& m_context; |
50 const DisplayItemClient& m_displayItemClient; | 50 const DisplayItemClient& m_displayItemClient; |
51 const DisplayItem::Type m_displayItemType; | 51 const DisplayItem::Type m_displayItemType; |
52 | 52 |
53 // True if there are no transparent areas. Only used for SlimmingPaintV2. | 53 // True if there are no transparent areas. Only used for SlimmingPaintV2. |
54 bool m_knownToBeOpaque; | 54 bool m_knownToBeOpaque; |
55 | |
56 #if DCHECK_IS_ON() | |
57 size_t m_displayItemPosition; | |
58 #endif | |
59 }; | 55 }; |
60 | 56 |
61 } // namespace blink | 57 } // namespace blink |
62 | 58 |
63 #endif // DrawingRecorder_h | 59 #endif // DrawingRecorder_h |
OLD | NEW |