Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 43e4c1473d36db47b55150a09043360af952d63d..15e3cae36a76ad01fd42c2f8c20f1555ec34fe7f 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1824,6 +1824,9 @@ void Element::setNeedsCompositingUpdate() |
if (!layoutObject->hasLayer()) |
return; |
layoutObject->layer()->setNeedsCompositingInputsUpdate(); |
+ // Changes in the return value of requiresAcceleratedCompositing change if |
+ // the DeprecatedPaintLayer is self-painting. |
+ layoutObject->layer()->updateSelfPaintingLayer(); |
} |
void Element::setCustomElementDefinition(PassRefPtrWillBeRawPtr<CustomElementDefinition> definition) |