| Index: Source/core/rendering/style/StyleDifference.h
|
| diff --git a/Source/core/rendering/style/StyleDifference.h b/Source/core/rendering/style/StyleDifference.h
|
| index 2d1e19c145d626f7fae065fec3300589e4afe250..dac2899d04470a1b6f97f9b08a6dc40b449d8a8a 100644
|
| --- a/Source/core/rendering/style/StyleDifference.h
|
| +++ b/Source/core/rendering/style/StyleDifference.h
|
| @@ -54,16 +54,6 @@ public:
|
| m_repaintType = NoRepaint;
|
| }
|
|
|
| - // Only overflow needs to be recomputed.
|
| - bool needsSimplifiedLayout() const { return m_layoutType & SimplifiedLayout; }
|
| - void setNeedsSimplifiedLayout()
|
| - {
|
| - if (!needsFullLayout())
|
| - m_layoutType |= SimplifiedLayout;
|
| - // FIXME: This is temporary to keep the StyleDifferenceLegacy behavior.
|
| - m_repaintType = NoRepaint;
|
| - }
|
| -
|
| bool needsFullLayout() const { return m_layoutType == FullLayout; }
|
| void setNeedsFullLayout()
|
| {
|
| @@ -85,10 +75,9 @@ private:
|
| enum LayoutType {
|
| NoLayout = 0,
|
| PositionedMovement = 1 << 0,
|
| - SimplifiedLayout = 1 << 1,
|
| - FullLayout = 1 << 2
|
| + FullLayout = 1 << 1
|
| };
|
| - unsigned m_layoutType : 3;
|
| + unsigned m_layoutType : 2;
|
| };
|
|
|
| } // namespace WebCore
|
|
|