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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into scroll-boundary Created 3 years, 9 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/platform/graphics/GraphicsLayer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
index ac1c32561660743c08256d10c4afad55f42df0ab..1fd7b8042440243b809a6e93d0a0bacd407c630b 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -149,6 +149,11 @@ void GraphicsLayer::setHasWillChangeTransformHint(bool hasWillChangeTransform) {
m_layer->layer()->setHasWillChangeTransformHint(hasWillChangeTransform);
}
+void GraphicsLayer::setScrollBoundaryBehavior(
+ WebScrollBoundaryBehavior behavior) {
+ m_layer->layer()->setScrollBoundaryBehavior(behavior);
+}
+
void GraphicsLayer::setParent(GraphicsLayer* layer) {
#if DCHECK_IS_ON()
DCHECK(!layer || !layer->hasAncestor(this));

Powered by Google App Engine
This is Rietveld 408576698