Index: Source/core/layout/compositing/CompositingReasonFinder.cpp |
diff --git a/Source/core/layout/compositing/CompositingReasonFinder.cpp b/Source/core/layout/compositing/CompositingReasonFinder.cpp |
index b8a7ab3c100fd207c50cdafd03249cfc203b7c43..98fc176b091f3053aa746724389aaa50477fae83 100644 |
--- a/Source/core/layout/compositing/CompositingReasonFinder.cpp |
+++ b/Source/core/layout/compositing/CompositingReasonFinder.cpp |
@@ -81,7 +81,7 @@ CompositingReasons CompositingReasonFinder::potentialCompositingReasonsFromStyle |
CompositingReasons reasons = CompositingReasonNone; |
- const LayoutStyle& style = renderer->styleRef(); |
+ const ComputedStyle& style = renderer->styleRef(); |
if (requiresCompositingForTransform(renderer)) |
reasons |= CompositingReason3DTransform; |
@@ -173,7 +173,7 @@ CompositingReasons CompositingReasonFinder::nonStyleDeterminedDirectReasons(cons |
return directReasons; |
} |
-bool CompositingReasonFinder::requiresCompositingForAnimation(const LayoutStyle& style) const |
+bool CompositingReasonFinder::requiresCompositingForAnimation(const ComputedStyle& style) const |
{ |
if (style.subtreeWillChangeContents()) |
return style.isRunningAnimationOnCompositor(); |
@@ -195,7 +195,7 @@ bool CompositingReasonFinder::requiresCompositingForScrollBlocksOn(const LayoutO |
// Note that the other requires* functions run at LayoutObject::styleDidChange time and so can rely |
// only on the style of their object. This function runs at CompositingRequirementsUpdater::update |
// time, and so can consider the style of other objects. |
- const LayoutStyle& style = renderer->styleRef(); |
+ const ComputedStyle& style = renderer->styleRef(); |
// We should only get here by CompositingReasonScrollBlocksOn being a potential compositing reason. |
ASSERT(style.hasScrollBlocksOn() && !renderer->isDocumentElement()); |