Index: third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
index 80d99f47401e5e6706fd17573c088818f038b8dc..65c2fb1cef9e720bfe6be7f6e010b4b8dd0388a1 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
@@ -361,6 +361,8 @@ void ScrollAnimator::updateCompositorAnimations() { |
} |
void ScrollAnimator::addMainThreadScrollingReason() { |
+ // TODO(yigu): Should update the frame tree to make sure |
+ // the same reason is set for subframes. crbug.com/675677. |
if (WebLayer* scrollLayer = |
toWebLayer(getScrollableArea()->layerForScrolling())) { |
scrollLayer->addMainThreadScrollingReasons( |