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

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

Issue 1161913002: Remove outdated FIXME (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add comments Created 5 years, 6 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 | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/LayoutView.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) 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 if (!oldChild.isRooted()) 188 if (!oldChild.isRooted())
189 return; 189 return;
190 if (oldChild.isBody()) { 190 if (oldChild.isBody()) {
191 oldChild.view()->setShouldDoFullPaintInvalidation(); 191 oldChild.view()->setShouldDoFullPaintInvalidation();
192 return; 192 return;
193 } 193 }
194 194
195 DisableCompositingQueryAsserts disabler; 195 DisableCompositingQueryAsserts disabler;
196 // FIXME: We should not allow paint invalidation out of paint invalidation s tate. crbug.com/457415 196 // FIXME: We should not allow paint invalidation out of paint invalidation s tate. crbug.com/457415
197 DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler; 197 DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler;
198 const LayoutBoxModelObject* paintInvalidationContainer = oldChild.containerF orPaintInvalidation(); 198 const LayoutBoxModelObject& paintInvalidationContainer = *oldChild.container ForPaintInvalidation();
199 oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, oldChild. previousPaintInvalidationRect(), PaintInvalidationLayoutObjectRemoval); 199 oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, oldChild. previousPaintInvalidationRect(), PaintInvalidationLayoutObjectRemoval);
200 if (RuntimeEnabledFeatures::slimmingPaintEnabled()) 200 if (RuntimeEnabledFeatures::slimmingPaintEnabled())
201 oldChild.invalidateDisplayItemClients(*paintInvalidationContainer); 201 oldChild.invalidateDisplayItemClients(paintInvalidationContainer);
202 } 202 }
203 203
204 } // namespace blink 204 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698