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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h

Issue 2565223002: Add more specific metrics for main thread scrolling reasons (Closed)
Patch Set: Add unit test && refactoring Created 4 years 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/core/layout/compositing/CompositingReasonFinder.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
index 6121857c7c370eb8207be7f4bdb9d381a28174af..de97dbbea2c6cdc704c5326c257a455b3f4c6bda 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -32,6 +32,8 @@ class CompositingReasonFinder {
bool hasOverflowScrollTrigger() const;
bool requiresCompositingForScrollableFrame() const;
bool requiresCompositingForAnimation(const ComputedStyle&) const;
+ void updateMainThreadScrollingReasonDueToLayoutObject(
+ const PaintLayer*) const;
private:
bool isMainFrame() const;

Powered by Google App Engine
This is Rietveld 408576698