Index: Source/core/rendering/style/StyleRareNonInheritedData.h |
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.h b/Source/core/rendering/style/StyleRareNonInheritedData.h |
index 5590030fc1f00c593ef8cf5fa05cededd1655c40..8a724ac79466937e8d199b5633b797f82469b356 100644 |
--- a/Source/core/rendering/style/StyleRareNonInheritedData.h |
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.h |
@@ -198,6 +198,12 @@ public: |
// value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed. |
unsigned m_scrollBehavior: 2; |
+ // Plugins require accelerated compositing for reasons external to blink. |
+ // In which case, we need to update the RenderStyle on the RenderEmbeddedObject, |
+ // so store this bit so that the style actually changes when the plugin |
+ // becomes composited. |
+ unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; |
+ |
private: |
StyleRareNonInheritedData(); |
StyleRareNonInheritedData(const StyleRareNonInheritedData&); |