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

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

Issue 2571043002: Set a direct compositing reason for 3D transform & will-change property tree nodes (Closed)
Patch Set: 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..6b4ab0666e6f8f7f6de615752c506735f62bbbcf 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -31,14 +31,13 @@ class CompositingReasonFinder {
bool hasOverflowScrollTrigger() const;
bool requiresCompositingForScrollableFrame() const;
- bool requiresCompositingForAnimation(const ComputedStyle&) const;
+ static bool requiresCompositingForAnimation(const ComputedStyle&);
+ static bool requiresCompositingForTransform(const LayoutObject&);
private:
bool isMainFrame() const;
CompositingReasons nonStyleDeterminedDirectReasons(const PaintLayer*) const;
-
- bool requiresCompositingForTransform(LayoutObject*) const;
bool requiresCompositingForScrollDependentPosition(const PaintLayer*) const;
LayoutView& m_layoutView;

Powered by Google App Engine
This is Rietveld 408576698