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

Side by Side Diff: Source/core/layout/LayoutObjectChildList.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/LayoutObjectInlines.h » ('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) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/layout/LayoutObjectChildList.h" 28 #include "core/layout/LayoutObjectChildList.h"
29 29
30 #include "core/dom/AXObjectCache.h" 30 #include "core/dom/AXObjectCache.h"
31 #include "core/layout/LayoutCounter.h" 31 #include "core/layout/LayoutCounter.h"
32 #include "core/layout/LayoutObject.h" 32 #include "core/layout/LayoutObject.h"
33 #include "core/layout/LayoutView.h" 33 #include "core/layout/LayoutView.h"
34 #include "core/layout/style/LayoutStyle.h" 34 #include "core/layout/style/ComputedStyle.h"
35 #include "core/paint/DeprecatedPaintLayer.h" 35 #include "core/paint/DeprecatedPaintLayer.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 void LayoutObjectChildList::destroyLeftoverChildren() 39 void LayoutObjectChildList::destroyLeftoverChildren()
40 { 40 {
41 while (firstChild()) { 41 while (firstChild()) {
42 // List markers are owned by their enclosing list and so don't get destr oyed by this container. 42 // List markers are owned by their enclosing list and so don't get destr oyed by this container.
43 if (firstChild()->isListMarker()) { 43 if (firstChild()->isListMarker()) {
44 firstChild()->remove(); 44 firstChild()->remove();
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 DisableCompositingQueryAsserts disabler; 177 DisableCompositingQueryAsserts disabler;
178 // FIXME: We should not allow paint invalidation out of paint invalidation s tate. crbug.com/457415 178 // FIXME: We should not allow paint invalidation out of paint invalidation s tate. crbug.com/457415
179 DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler; 179 DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler;
180 const LayoutBoxModelObject* paintInvalidationContainer = oldChild.containerF orPaintInvalidation(); 180 const LayoutBoxModelObject* paintInvalidationContainer = oldChild.containerF orPaintInvalidation();
181 oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, oldChild. previousPaintInvalidationRect(), PaintInvalidationRendererRemoval); 181 oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, oldChild. previousPaintInvalidationRect(), PaintInvalidationRendererRemoval);
182 if (RuntimeEnabledFeatures::slimmingPaintEnabled()) 182 if (RuntimeEnabledFeatures::slimmingPaintEnabled())
183 oldChild.invalidateDisplayItemClients(*paintInvalidationContainer); 183 oldChild.invalidateDisplayItemClients(*paintInvalidationContainer);
184 } 184 }
185 185
186 } // namespace blink 186 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/LayoutObjectInlines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698