| 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 #include "sky/engine/config.h" | |
| 6 #include "sky/engine/core/page/PageAnimator.h" | 5 #include "sky/engine/core/page/PageAnimator.h" |
| 7 | 6 |
| 8 #include "sky/engine/core/animation/DocumentAnimations.h" | 7 #include "sky/engine/core/animation/DocumentAnimations.h" |
| 9 #include "sky/engine/core/dom/Document.h" | 8 #include "sky/engine/core/dom/Document.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/page/ChromeClient.h" | 11 #include "sky/engine/core/page/ChromeClient.h" |
| 13 #include "sky/engine/core/page/Page.h" | 12 #include "sky/engine/core/page/Page.h" |
| 14 #include "sky/engine/core/painting/PaintingTasks.h" | 13 #include "sky/engine/core/painting/PaintingTasks.h" |
| 15 #include "sky/engine/platform/Logging.h" | 14 #include "sky/engine/platform/Logging.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // once requestPaint callbacks can't dirty layout. | 52 // once requestPaint callbacks can't dirty layout. |
| 54 while (PaintingTasks::serviceRequests()) | 53 while (PaintingTasks::serviceRequests()) |
| 55 view->updateLayoutAndStyleForPainting(); | 54 view->updateLayoutAndStyleForPainting(); |
| 56 | 55 |
| 57 PaintingTasks::drainCommits(); | 56 PaintingTasks::drainCommits(); |
| 58 | 57 |
| 59 ASSERT(m_page->mainFrame()->document()->lifecycle().state() == DocumentLifec
ycle::StyleAndLayoutClean); | 58 ASSERT(m_page->mainFrame()->document()->lifecycle().state() == DocumentLifec
ycle::StyleAndLayoutClean); |
| 60 } | 59 } |
| 61 | 60 |
| 62 } | 61 } |
| OLD | NEW |