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

Unified Diff: Source/core/layout/LayoutBox.h

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix style errors and remaining layout tests. Created 5 years, 3 months 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/layout/LayoutBox.h
diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h
index 43fb401350551749348b2684e6280b71372b032b..0ca3d2aaebf9d92508fb3d18ec959364aebadc85 100644
--- a/Source/core/layout/LayoutBox.h
+++ b/Source/core/layout/LayoutBox.h
@@ -865,6 +865,8 @@ protected:
OwnPtr<OverflowModel> m_overflow;
private:
+ LayoutRect frameRectForStickyPositioning() const override final { return frameRect(); }
+
OwnPtr<LayoutBoxRareData> m_rareData;
};

Powered by Google App Engine
This is Rietveld 408576698