| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 void FrameView::recalcOverflowAfterStyleChange() | 177 void FrameView::recalcOverflowAfterStyleChange() |
| 178 { | 178 { |
| 179 RenderView* renderView = this->renderView(); | 179 RenderView* renderView = this->renderView(); |
| 180 RELEASE_ASSERT(renderView); | 180 RELEASE_ASSERT(renderView); |
| 181 if (!renderView->needsOverflowRecalcAfterStyleChange()) | 181 if (!renderView->needsOverflowRecalcAfterStyleChange()) |
| 182 return; | 182 return; |
| 183 | 183 |
| 184 renderView->recalcOverflowAfterStyleChange(); | 184 renderView->recalcOverflowAfterStyleChange(); |
| 185 } | 185 } |
| 186 | 186 |
| 187 bool FrameView::isEnclosedInCompositingLayer() const | |
| 188 { | |
| 189 return false; | |
| 190 } | |
| 191 | |
| 192 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const | 187 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const |
| 193 { | 188 { |
| 194 return onlyDuringLayout && layoutPending() ? 0 : m_layoutSubtreeRoot; | 189 return onlyDuringLayout && layoutPending() ? 0 : m_layoutSubtreeRoot; |
| 195 } | 190 } |
| 196 | 191 |
| 197 void FrameView::performPreLayoutTasks() | 192 void FrameView::performPreLayoutTasks() |
| 198 { | 193 { |
| 199 TRACE_EVENT0("blink", "FrameView::performPreLayoutTasks"); | 194 TRACE_EVENT0("blink", "FrameView::performPreLayoutTasks"); |
| 200 lifecycle().advanceTo(DocumentLifecycle::InPreLayout); | 195 lifecycle().advanceTo(DocumentLifecycle::InPreLayout); |
| 201 | 196 |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 totalObjects = 0; | 842 totalObjects = 0; |
| 848 | 843 |
| 849 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { | 844 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { |
| 850 ++totalObjects; | 845 ++totalObjects; |
| 851 if (o->needsLayout()) | 846 if (o->needsLayout()) |
| 852 ++needsLayoutObjects; | 847 ++needsLayoutObjects; |
| 853 } | 848 } |
| 854 } | 849 } |
| 855 | 850 |
| 856 } // namespace blink | 851 } // namespace blink |
| OLD | NEW |