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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Force main thread scrolling, set experimental status, and address review comments. Created 5 years 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/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index d18201e25fd0635fab79008a56d4735fa9825bfd..289df6c23e80bac2fba9e5e7617b32fd78efca45 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -98,7 +98,8 @@ public:
enum MainThreadScrollingReasonFlags {
HasBackgroundAttachmentFixedObjects = 1 << 0,
HasNonLayerViewportConstrainedObjects = 1 << 1,
- ThreadedScrollingDisabled = 1 << 2
+ HasStickyPositionObjects = 1 << 2,
+ ThreadedScrollingDisabled = 1 << 3
};
MainThreadScrollingReasons mainThreadScrollingReasons() const;

Powered by Google App Engine
This is Rietveld 408576698