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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 1581593003: Skip PaintPhaseFloat if no floats in a layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@OutlinePhase
Patch Set: Remove test (instead of #if 0) Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 , m_needsAncestorDependentCompositingInputsUpdate(true) 121 , m_needsAncestorDependentCompositingInputsUpdate(true)
122 , m_needsDescendantDependentCompositingInputsUpdate(true) 122 , m_needsDescendantDependentCompositingInputsUpdate(true)
123 , m_childNeedsCompositingInputsUpdate(true) 123 , m_childNeedsCompositingInputsUpdate(true)
124 , m_hasCompositingDescendant(false) 124 , m_hasCompositingDescendant(false)
125 , m_hasNonCompositedChild(false) 125 , m_hasNonCompositedChild(false)
126 , m_shouldIsolateCompositedDescendants(false) 126 , m_shouldIsolateCompositedDescendants(false)
127 , m_lostGroupedMapping(false) 127 , m_lostGroupedMapping(false)
128 , m_needsRepaint(false) 128 , m_needsRepaint(false)
129 , m_previousPaintResult(PaintLayerPainter::FullyPainted) 129 , m_previousPaintResult(PaintLayerPainter::FullyPainted)
130 , m_needsPaintPhaseDescendantOutlines(false) 130 , m_needsPaintPhaseDescendantOutlines(false)
131 , m_needsPaintPhaseFloat(false)
131 , m_layoutObject(layoutObject) 132 , m_layoutObject(layoutObject)
132 , m_parent(0) 133 , m_parent(0)
133 , m_previous(0) 134 , m_previous(0)
134 , m_next(0) 135 , m_next(0)
135 , m_first(0) 136 , m_first(0)
136 , m_last(0) 137 , m_last(0)
137 , m_staticInlinePosition(0) 138 , m_staticInlinePosition(0)
138 , m_staticBlockPosition(0) 139 , m_staticBlockPosition(0)
139 , m_enclosingPaginationLayer(0) 140 , m_enclosingPaginationLayer(0)
140 , m_potentialCompositingReasonsFromStyle(CompositingReasonNone) 141 , m_potentialCompositingReasonsFromStyle(CompositingReasonNone)
(...skipping 2689 matching lines...) Expand 10 before | Expand all | Expand 10 after
2830 2831
2831 void showLayerTree(const blink::LayoutObject* layoutObject) 2832 void showLayerTree(const blink::LayoutObject* layoutObject)
2832 { 2833 {
2833 if (!layoutObject) { 2834 if (!layoutObject) {
2834 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2835 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2835 return; 2836 return;
2836 } 2837 }
2837 showLayerTree(layoutObject->enclosingLayer()); 2838 showLayerTree(layoutObject->enclosingLayer());
2838 } 2839 }
2839 #endif 2840 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698