| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 TestPaintArtifact_h | 5 #ifndef TestPaintArtifact_h |
| 6 #define TestPaintArtifact_h | 6 #define TestPaintArtifact_h |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "platform/graphics/Color.h" | 9 #include "platform/graphics/Color.h" |
| 10 #include "platform/graphics/paint/DisplayItemList.h" | 10 #include "platform/graphics/paint/DisplayItemList.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 Vector<OwnPtr<DummyRectClient>> m_dummyClients; | 58 Vector<OwnPtr<DummyRectClient>> m_dummyClients; |
| 59 | 59 |
| 60 // Exists if m_built is false. | 60 // Exists if m_built is false. |
| 61 DisplayItemList m_displayItemList; | 61 DisplayItemList m_displayItemList; |
| 62 Vector<PaintChunk> m_paintChunks; | 62 Vector<PaintChunk> m_paintChunks; |
| 63 | 63 |
| 64 // Exists if m_built is true. | 64 // Exists if m_built is true. |
| 65 PaintArtifact m_paintArtifact; | 65 PaintArtifact m_paintArtifact; |
| 66 | 66 |
| 67 bool m_built; | 67 bool m_built; |
| 68 | |
| 69 // To make MSVC happy. | |
| 70 friend struct WTF::OwnedPtrDeleter<DummyRectClient>; | |
| 71 }; | 68 }; |
| 72 | 69 |
| 73 } // namespace blink | 70 } // namespace blink |
| 74 | 71 |
| 75 #endif // TestPaintArtifact_h | 72 #endif // TestPaintArtifact_h |
| OLD | NEW |