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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1306993002: Cleanup friends of LayoutObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: document Created 5 years, 4 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
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index fb0062c7711f8310c7700117e88d6e360ffe14e5..47704c236d28959e80a95a34f9a87a2f53ba77b2 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1762,13 +1762,13 @@ void LayoutObject::firstLineStyleDidChange(const ComputedStyle& oldStyle, const
void LayoutObject::markContainingBlocksForOverflowRecalc()
{
for (LayoutBlock* container = containingBlock(); container && !container->childNeedsOverflowRecalcAfterStyleChange(); container = container->containingBlock())
- container->setChildNeedsOverflowRecalcAfterStyleChange(true);
+ container->setChildNeedsOverflowRecalcAfterStyleChange();
}
void LayoutObject::setNeedsOverflowRecalcAfterStyleChange()
{
bool neededRecalc = needsOverflowRecalcAfterStyleChange();
- setSelfNeedsOverflowRecalcAfterStyleChange(true);
+ setSelfNeedsOverflowRecalcAfterStyleChange();
if (!neededRecalc)
markContainingBlocksForOverflowRecalc();
}

Powered by Google App Engine
This is Rietveld 408576698