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; |