Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: sky/engine/core/frame/FrameView.cpp

Issue 865153004: Remove dead code related to compositing from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/frame/Settings.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698