| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 2620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 | 2631 |
| 2632 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean); | 2632 DCHECK(lifecycle().state() >= DocumentLifecycle::CompositingClean); |
| 2633 | 2633 |
| 2634 if (targetState >= DocumentLifecycle::PrePaintClean) { | 2634 if (targetState >= DocumentLifecycle::PrePaintClean) { |
| 2635 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) | 2635 if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) |
| 2636 invalidateTreeIfNeededRecursive(); | 2636 invalidateTreeIfNeededRecursive(); |
| 2637 | 2637 |
| 2638 if (view.compositor()->inCompositingMode()) | 2638 if (view.compositor()->inCompositingMode()) |
| 2639 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded
(); | 2639 scrollingCoordinator()->updateAfterCompositingChangeIfNeeded
(); |
| 2640 | 2640 |
| 2641 m_frame->document()->rootScrollerController()->didUpdateComposit
ing(); | |
| 2642 updateCompositedSelectionIfNeeded(); | 2641 updateCompositedSelectionIfNeeded(); |
| 2643 } | 2642 } |
| 2644 } | 2643 } |
| 2645 | 2644 |
| 2646 if (targetState >= DocumentLifecycle::PrePaintClean) { | 2645 if (targetState >= DocumentLifecycle::PrePaintClean) { |
| 2647 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) | 2646 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| 2648 updatePaintProperties(); | 2647 updatePaintProperties(); |
| 2649 } | 2648 } |
| 2650 | 2649 |
| 2651 if (targetState == DocumentLifecycle::PaintClean) { | 2650 if (targetState == DocumentLifecycle::PaintClean) { |
| (...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4353 } | 4352 } |
| 4354 | 4353 |
| 4355 bool FrameView::canThrottleRendering() const | 4354 bool FrameView::canThrottleRendering() const |
| 4356 { | 4355 { |
| 4357 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4356 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4358 return false; | 4357 return false; |
| 4359 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); | 4358 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); |
| 4360 } | 4359 } |
| 4361 | 4360 |
| 4362 } // namespace blink | 4361 } // namespace blink |
| OLD | NEW |