[LayoutReloaded] Decouple formatting state and context lifetime.
[WebKit-https.git] / Tools / LayoutReloaded / FormattingState / FormattingState.js
index 2a9eb86..2c696de 100644 (file)
 class FormattingState {
     constructor(layoutState, formattingRoot) {
         this.m_layoutState = layoutState;
-        this.m_formattingContext = null;
         this.m_formattingRoot = formattingRoot;
         this.m_floatingState = null;
         this.m_displayToLayout = new Map();
     }
 
-    formattingContext() {
-        return this.m_formattingContext;
-    }
-
     formattingRoot() {
         return this.m_formattingRoot;
     }