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

Unified Diff: Source/core/rendering/RenderBox.h

Issue 722643002: No need to detect change in size when opting for PositionedMovementLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years 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/rendering/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index 9b7ae9b1ad6fcac64f38158fc986ea60f52094aa..fcdf2f6adfadb2a1b2e5d9496de59d4188ccc402 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -507,8 +507,6 @@ public:
LogicalExtentComputedValues computedValues;
logicalExtentAfterUpdatingLogicalWidth(logicalTop(), computedValues);
// If we shrink to fit our width may have changed, so we still need full layout.
- // FIXME: We check for potential change of width when deciding to set needsPositionedMovementLayout.
- // So either that check or this one is unnecessary, probably the former. crbug.com/428050
if (oldWidth != computedValues.m_extent)
return false;
setLogicalWidth(computedValues.m_extent);

Powered by Google App Engine
This is Rietveld 408576698