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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObjectChildList.cpp
diff --git a/Source/core/layout/LayoutObjectChildList.cpp b/Source/core/layout/LayoutObjectChildList.cpp
index 5e6c2ea0385a15aab077e3793f10d61afd2e40cd..85b489aa258024e64543c1a6c188b6c4976bce94 100644
--- a/Source/core/layout/LayoutObjectChildList.cpp
+++ b/Source/core/layout/LayoutObjectChildList.cpp
@@ -195,10 +195,10 @@ void LayoutObjectChildList::invalidatePaintOnRemoval(const LayoutObject& oldChil
DisableCompositingQueryAsserts disabler;
// FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler;
- const LayoutBoxModelObject* paintInvalidationContainer = oldChild.containerForPaintInvalidation();
+ const LayoutBoxModelObject& paintInvalidationContainer = *oldChild.containerForPaintInvalidation();
oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, oldChild.previousPaintInvalidationRect(), PaintInvalidationLayoutObjectRemoval);
if (RuntimeEnabledFeatures::slimmingPaintEnabled())
- oldChild.invalidateDisplayItemClients(*paintInvalidationContainer);
+ oldChild.invalidateDisplayItemClients(paintInvalidationContainer);
}
} // namespace blink
« 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