Cherry-pick http://crrev.com/27262002 "Should not clear logical widths dirty bit without computing the value"
This fixes a layout bug in Blink introduced in Jan 2013, causing broken
rendering of Twitter messages in Gmail.
BUG: 11113973
Change-Id: Iab5933ea5a47523005550e11a47c442868e99cab
diff --git a/Source/core/rendering/FixedTableLayout.cpp b/Source/core/rendering/FixedTableLayout.cpp
index 74061f7..83fe0db 100644
--- a/Source/core/rendering/FixedTableLayout.cpp
+++ b/Source/core/rendering/FixedTableLayout.cpp
@@ -171,7 +171,7 @@
// dirty bit on the cell so that we'll correctly mark its ancestors dirty
// in case we later call setPreferredLogicalWidthsDirty(true) on it later.
if (cell->preferredLogicalWidthsDirty())
- cell->setPreferredLogicalWidthsDirty(false);
+ (void) cell->minPreferredLogicalWidth();
}
return usedWidth;