| 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/LayoutRoot.h" | 5 #include "sky/engine/core/painting/LayoutRoot.h" |
| 7 | 6 |
| 8 #include "sky/engine/core/dom/Document.h" | 7 #include "sky/engine/core/dom/Document.h" |
| 9 #include "sky/engine/core/dom/Element.h" | 8 #include "sky/engine/core/dom/Element.h" |
| 10 #include "sky/engine/core/frame/FrameView.h" | 9 #include "sky/engine/core/frame/FrameView.h" |
| 11 #include "sky/engine/core/frame/LocalFrame.h" | 10 #include "sky/engine/core/frame/LocalFrame.h" |
| 12 #include "sky/engine/core/frame/Settings.h" | 11 #include "sky/engine/core/frame/Settings.h" |
| 13 #include "sky/engine/core/painting/PaintingTasks.h" | 12 #include "sky/engine/core/painting/PaintingTasks.h" |
| 14 #include "sky/engine/platform/geometry/IntRect.h" | 13 #include "sky/engine/platform/geometry/IntRect.h" |
| 15 #include "third_party/skia/include/core/SkCanvas.h" | 14 #include "third_party/skia/include/core/SkCanvas.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 m_frame->setDocument(nullptr); | 80 m_frame->setDocument(nullptr); |
| 82 } | 81 } |
| 83 | 82 |
| 84 void LayoutRoot::paint(Canvas* canvas) | 83 void LayoutRoot::paint(Canvas* canvas) |
| 85 { | 84 { |
| 86 if (m_document) | 85 if (m_document) |
| 87 rootElement()->paint(canvas); | 86 rootElement()->paint(canvas); |
| 88 } | 87 } |
| 89 | 88 |
| 90 } // namespace blink | 89 } // namespace blink |
| OLD | NEW |