Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1555)

Unified Diff: Source/core/rendering/style/StyleRareNonInheritedData.h

Issue 328553004: Get rid of scheduleSVGFilterLayerUpdateHack call for plugins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: get rid of style recalc Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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&);
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698