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

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

Issue 850763007: Delete canInvalidatePaintDuringPerformLayout. (Closed) Base URL: git@github.com:domokit/mojo.git@PaintInvalidationState
Patch Set: Created 5 years, 11 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/rendering/RenderObjectChildList.cpp » ('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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ASSERT(m_frame); 106 ASSERT(m_frame);
107 ASSERT(m_frame->view() != this || !m_frame->contentRenderer()); 107 ASSERT(m_frame->view() != this || !m_frame->contentRenderer());
108 } 108 }
109 109
110 void FrameView::reset() 110 void FrameView::reset()
111 { 111 {
112 m_hasPendingLayout = false; 112 m_hasPendingLayout = false;
113 m_layoutSubtreeRoot = 0; 113 m_layoutSubtreeRoot = 0;
114 m_layoutSchedulingEnabled = true; 114 m_layoutSchedulingEnabled = true;
115 m_inPerformLayout = false; 115 m_inPerformLayout = false;
116 m_canInvalidatePaintDuringPerformLayout = false;
117 m_inSynchronousPostLayout = false; 116 m_inSynchronousPostLayout = false;
118 m_layoutCount = 0; 117 m_layoutCount = 0;
119 m_nestedLayoutCount = 0; 118 m_nestedLayoutCount = 0;
120 m_postLayoutTasksTimer.stop(); 119 m_postLayoutTasksTimer.stop();
121 m_firstLayout = true; 120 m_firstLayout = true;
122 m_firstLayoutCallbackPending = false; 121 m_firstLayoutCallbackPending = false;
123 m_lastViewportSize = IntSize(); 122 m_lastViewportSize = IntSize();
124 m_lastPaintTime = 0; 123 m_lastPaintTime = 0;
125 m_isPainting = false; 124 m_isPainting = false;
126 } 125 }
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 totalObjects = 0; 914 totalObjects = 0;
916 915
917 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { 916 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) {
918 ++totalObjects; 917 ++totalObjects;
919 if (o->needsLayout()) 918 if (o->needsLayout())
920 ++needsLayoutObjects; 919 ++needsLayoutObjects;
921 } 920 }
922 } 921 }
923 922
924 } // namespace blink 923 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/rendering/RenderObjectChildList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698