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/platform/graphics/GraphicsLayer.cpp

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Use only gpuBenchmarking. Created 3 years, 7 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 690e5ac6734038642fbd035132b96015463050a8..53b9d1bb19c0995cf667a5536bd0e39516ca5fc4 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -150,6 +150,11 @@ void GraphicsLayer::SetHasWillChangeTransformHint(
layer_->Layer()->SetHasWillChangeTransformHint(has_will_change_transform);
}
+void GraphicsLayer::SetScrollBoundaryBehavior(
+ const WebScrollBoundaryBehavior& behavior) {
+ 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