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

Unified Diff: cc/input/main_thread_scrolling_reason.h

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge with master and skip anonymous containing blocks for sticky container. 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: cc/input/main_thread_scrolling_reason.h
diff --git a/cc/input/main_thread_scrolling_reason.h b/cc/input/main_thread_scrolling_reason.h
index 4de70f7ef779fa28794cb492bf21af22a38803ad..4e74c8eed0fceb0a5d37ce55c41734fad1697953 100644
--- a/cc/input/main_thread_scrolling_reason.h
+++ b/cc/input/main_thread_scrolling_reason.h
@@ -28,8 +28,10 @@ struct MainThreadScrollingReason {
enum : uint32_t { kNonInvertibleTransform = 1 << 11 };
enum : uint32_t { kPageBasedScrolling = 1 << 12 };
+ enum : uint32_t { kHasStickyPositionObjects = 1 << 13 };
+
// The number of flags in this struct (excluding itself).
- enum : uint32_t { kMainThreadScrollingReasonCount = 14 };
+ enum : uint32_t { kMainThreadScrollingReasonCount = 15 };
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698