diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/rendering/LayoutState.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/rendering/LayoutState.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/WebCore/rendering/LayoutState.h b/src/3rdparty/webkit/WebCore/rendering/LayoutState.h index 551c74a..afa2952 100644 --- a/src/3rdparty/webkit/WebCore/rendering/LayoutState.h +++ b/src/3rdparty/webkit/WebCore/rendering/LayoutState.h @@ -41,6 +41,9 @@ public: LayoutState() : m_clipped(false) , m_next(0) +#ifndef NDEBUG + , m_renderer(0) +#endif { } @@ -62,8 +65,14 @@ private: public: bool m_clipped; IntRect m_clipRect; - IntSize m_offset; + IntSize m_offset; // x/y offset from container. + IntSize m_layoutDelta; // Transient offset from the final position of the object + // used to ensure that repaints happen in the correct place. + // This is a total delta accumulated from the root. LayoutState* m_next; +#ifndef NDEBUG + RenderObject* m_renderer; +#endif }; } // namespace WebCore |