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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 2345403003: Add background attachment fixed main thread scrolling reason [spv2] (Closed)
Patch Set: Minor cleanup 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/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index 79321fb3ed5ece415829117039910ffd6c52f24a..3d47b0f3441f5865284a29b0277b69fe57f6b036 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -372,12 +372,12 @@ int PropertyTreeManager::compositorIdForScrollNode(const ScrollPaintPropertyNode
compositorNode.scrollable = true;
- // TODO(pdr): Set main thread scrolling reasons.
compositorNode.scroll_clip_layer_bounds.SetSize(scrollNode->clip().width(), scrollNode->clip().height());
compositorNode.bounds.SetSize(scrollNode->bounds().width(), scrollNode->bounds().height());
compositorNode.user_scrollable_horizontal = scrollNode->userScrollableHorizontal();
compositorNode.user_scrollable_vertical = scrollNode->userScrollableVertical();
compositorNode.transform_id = compositorIdForTransformNode(scrollNode->scrollOffsetTranslation());
+ compositorNode.main_thread_scrolling_reasons = scrollNode->mainThreadScrollingReasons();
auto result = m_scrollNodeMap.set(scrollNode, id);
DCHECK(result.isNewEntry);

Powered by Google App Engine
This is Rietveld 408576698