OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "sky/engine/config.h" | |
6 #include "sky/engine/core/painting/PaintingTasks.h" | 5 #include "sky/engine/core/painting/PaintingTasks.h" |
7 | 6 |
8 #include "sky/engine/core/dom/Element.h" | 7 #include "sky/engine/core/dom/Element.h" |
9 #include "sky/engine/core/painting/PaintingCallback.h" | 8 #include "sky/engine/core/painting/PaintingCallback.h" |
10 #include "sky/engine/core/painting/PaintingContext.h" | 9 #include "sky/engine/core/painting/PaintingContext.h" |
11 #include "sky/engine/core/rendering/RenderBox.h" | 10 #include "sky/engine/core/rendering/RenderBox.h" |
12 #include "sky/engine/platform/graphics/DisplayList.h" | 11 #include "sky/engine/platform/graphics/DisplayList.h" |
13 #include "sky/engine/wtf/OwnPtr.h" | 12 #include "sky/engine/wtf/OwnPtr.h" |
14 #include "sky/engine/wtf/RefPtr.h" | 13 #include "sky/engine/wtf/RefPtr.h" |
15 #include "sky/engine/wtf/Vector.h" | 14 #include "sky/engine/wtf/Vector.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 RenderObject* renderer = commit.node->renderer(); | 88 RenderObject* renderer = commit.node->renderer(); |
90 if (!renderer || !renderer->isBox()) | 89 if (!renderer || !renderer->isBox()) |
91 return; | 90 return; |
92 toRenderBox(renderer)->setCustomPainting(commit.displayList.release()); | 91 toRenderBox(renderer)->setCustomPainting(commit.displayList.release()); |
93 } | 92 } |
94 | 93 |
95 commits().clear(); | 94 commits().clear(); |
96 } | 95 } |
97 | 96 |
98 } // namespace blink | 97 } // namespace blink |
OLD | NEW |