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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1647793002: Use ScrollAnchor in FrameView and PaintLayerScrollableArea. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@anchor-skeleton
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index dbc9fcfd826dc59460ec6c67f43aad792e802027..cd1fe584aeac8f7a4804c3c86a3d6491af9951ce 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1518,6 +1518,7 @@ protected:
void setContainsInlineWithOutlineAndContinuation(bool b) { m_bitfields.setContainsInlineWithOutlineAndContinuation(b); }
const LayoutRect& previousPaintInvalidationRect() const { return m_previousPaintInvalidationRect; }
+ bool scrollAnchoringEnabled() const;
private:
// This function generates a full invalidation, which
@@ -1589,6 +1590,7 @@ private:
const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRect&) const;
static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUnit::max(), LayoutUnit::max()); }
+ void clearScrollAnchorIfNeeded() const;
RefPtr<ComputedStyle> m_style;

Powered by Google App Engine
This is Rietveld 408576698