| 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 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2838 { | 2838 { |
| 2839 TRACE_EVENT1("devtools.timeline", "UpdateLayerTree", "data", | 2839 TRACE_EVENT1("devtools.timeline", "UpdateLayerTree", "data", |
| 2840 InspectorUpdateLayerTreeEvent::data(m_frame.get())); | 2840 InspectorUpdateLayerTreeEvent::data(m_frame.get())); |
| 2841 | 2841 |
| 2842 if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { | 2842 if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
| 2843 view.compositor()->updateIfNeededRecursive(); | 2843 view.compositor()->updateIfNeededRecursive(); |
| 2844 } else { | 2844 } else { |
| 2845 DocumentAnimations::updateAnimations(layoutView()->document()); | 2845 DocumentAnimations::updateAnimations(layoutView()->document()); |
| 2846 | 2846 |
| 2847 forAllNonThrottledFrameViews([](FrameView& frameView) { | 2847 forAllNonThrottledFrameViews([](FrameView& frameView) { |
| 2848 frameView.layoutView()->layer()->updateDescendantDependentFlags(); |
| 2848 frameView.layoutView()->commitPendingSelection(); | 2849 frameView.layoutView()->commitPendingSelection(); |
| 2849 }); | 2850 }); |
| 2850 } | 2851 } |
| 2851 | 2852 |
| 2852 scrollContentsIfNeededRecursive(); | 2853 scrollContentsIfNeededRecursive(); |
| 2853 DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() || | 2854 DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() || |
| 2854 lifecycle().state() >= DocumentLifecycle::CompositingClean); | 2855 lifecycle().state() >= DocumentLifecycle::CompositingClean); |
| 2855 | 2856 |
| 2856 m_frame->host()->globalRootScrollerController().didUpdateCompositing(); | 2857 m_frame->host()->globalRootScrollerController().didUpdateCompositing(); |
| 2857 | 2858 |
| (...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4645 DCHECK(m_frame->isMainFrame()); | 4646 DCHECK(m_frame->isMainFrame()); |
| 4646 return m_initialViewportSize.width(); | 4647 return m_initialViewportSize.width(); |
| 4647 } | 4648 } |
| 4648 | 4649 |
| 4649 int FrameView::initialViewportHeight() const { | 4650 int FrameView::initialViewportHeight() const { |
| 4650 DCHECK(m_frame->isMainFrame()); | 4651 DCHECK(m_frame->isMainFrame()); |
| 4651 return m_initialViewportSize.height(); | 4652 return m_initialViewportSize.height(); |
| 4652 } | 4653 } |
| 4653 | 4654 |
| 4654 } // namespace blink | 4655 } // namespace blink |
| OLD | NEW |