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

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: Update test that was written for PaintArtifactCompositor's reasons 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/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 d503ab78d171498ea369f6223c85306be250f9db..4f45a5c3c3bc45acfe2c0713688bac907f8b2e64 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