Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
index ff610fc7505eb5cb88eae2596ef7f27a8ba0df42..9d584a4a6caa665d2a41eeffbbe769a7faa1e1e8 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -49,6 +49,7 @@ |
#include "core/svg/SVGSVGElement.h" |
#include "platform/Length.h" |
#include "platform/transforms/TransformOperations.h" |
+#include "public/platform/WebCompositorMutableProperties.h" |
#include "wtf/Assertions.h" |
namespace blink { |
@@ -181,6 +182,9 @@ void StyleAdjuster::adjustComputedStyle(ComputedStyle& style, const ComputedStyl |
adjustStyleForFirstLetter(style); |
} |
+ if (element && element->hasCompositorProxy()) |
+ style.setHasCompositorProxy(true); |
+ |
// Make sure our z-index value is only applied if the object is positioned. |
if (style.position() == StaticPosition && !parentStyleForcesZIndexToCreateStackingContext(parentStyle)) |
style.setHasAutoZIndex(); |