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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1790 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); | 1790 m_layoutSubtreeRootList.remove(const_cast<LayoutObject&>(root)); |
1791 } | 1791 } |
1792 | 1792 |
1793 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() | 1793 void FrameView::clearLayoutSubtreeRootsAndMarkContainingBlocks() |
1794 { | 1794 { |
1795 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); | 1795 m_layoutSubtreeRootList.clearAndMarkContainingBlocksForLayout(); |
1796 } | 1796 } |
1797 | 1797 |
1798 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) | 1798 void FrameView::addOrthogonalWritingModeRoot(LayoutBox& root) |
1799 { | 1799 { |
1800 ASSERT(!root.isLayoutFullScreen() && !root.isLayoutFullScreenPlaceholder() | 1800 DCHECK(!root.isLayoutScrollbarPart()); |
1801 && !root.isLayoutScrollbarPart()); | |
1802 m_orthogonalWritingModeRootList.add(root); | 1801 m_orthogonalWritingModeRootList.add(root); |
1803 } | 1802 } |
1804 | 1803 |
1805 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) | 1804 void FrameView::removeOrthogonalWritingModeRoot(LayoutBox& root) |
1806 { | 1805 { |
1807 m_orthogonalWritingModeRootList.remove(root); | 1806 m_orthogonalWritingModeRootList.remove(root); |
1808 } | 1807 } |
1809 | 1808 |
1810 bool FrameView::hasOrthogonalWritingModeRoots() const | 1809 bool FrameView::hasOrthogonalWritingModeRoots() const |
1811 { | 1810 { |
(...skipping 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4273 } | 4272 } |
4274 | 4273 |
4275 bool FrameView::canThrottleRendering() const | 4274 bool FrameView::canThrottleRendering() const |
4276 { | 4275 { |
4277 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4276 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
4278 return false; | 4277 return false; |
4279 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); | 4278 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); |
4280 } | 4279 } |
4281 | 4280 |
4282 } // namespace blink | 4281 } // namespace blink |
OLD | NEW |