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

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

Issue 2251303003: Implement position: sticky updates on compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and add unit test for impl side sticky position update. Created 4 years, 3 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 ea8d86176c4ee21bb5a102a5a1f52897d19782be..075750227e8f721437b0f3051e6e5007f89966a0 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
@@ -1166,6 +1166,11 @@ void GraphicsLayer::setBackdropFilters(const FilterOperations& filters)
m_layer->layer()->setBackgroundFilters(compositorFilters.releaseCcFilterOperations());
}
+void GraphicsLayer::setStickyPositionConstraint(const WebLayerStickyPositionConstraint& stickyConstraint)
+{
+ m_layer->layer()->setStickyPositionConstraint(stickyConstraint);
+}
+
void GraphicsLayer::setFilterQuality(SkFilterQuality filterQuality)
{
if (m_imageLayer)

Powered by Google App Engine
This is Rietveld 408576698