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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp

Issue 2297943002: Rename kAnimatingScrollOnMainThread to kHandlingScrollFromMainThread (Closed)
Patch Set: update more comments 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/scroll/ScrollAnimator.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
index 56021998d5cf2b2e34a0f0b3a0fe154ba1a9e0bf..364765f85b02268e8e5f9680ddc95035ce66028b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp
@@ -383,7 +383,7 @@ void ScrollAnimator::addMainThreadScrollingReason()
{
if (WebLayer* scrollLayer = toWebLayer(getScrollableArea()->layerForScrolling())) {
scrollLayer->addMainThreadScrollingReasons(
- MainThreadScrollingReason::kAnimatingScrollOnMainThread);
+ MainThreadScrollingReason::kHandlingScrollFromMainThread);
}
}
@@ -391,7 +391,7 @@ void ScrollAnimator::removeMainThreadScrollingReason()
{
if (WebLayer* scrollLayer = toWebLayer(getScrollableArea()->layerForScrolling())) {
scrollLayer->clearMainThreadScrollingReasons(
- MainThreadScrollingReason::kAnimatingScrollOnMainThread);
+ MainThreadScrollingReason::kHandlingScrollFromMainThread);
}
}

Powered by Google App Engine
This is Rietveld 408576698