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

Unified Diff: Source/core/style/StyleRareNonInheritedData.cpp

Issue 1060973003: compositor-worker: Force elements to grow a layer when a CompositorProxy is created. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tot-merge Created 5 years, 8 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
« no previous file with comments | « Source/core/style/StyleRareNonInheritedData.h ('k') | Source/platform/graphics/CompositingReasons.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleRareNonInheritedData.cpp
diff --git a/Source/core/style/StyleRareNonInheritedData.cpp b/Source/core/style/StyleRareNonInheritedData.cpp
index 8c7c96b24cb413bccf5ed2b3646e8b27da430543..d8b5d8eff707c956630ff35468130f48ee5b5899 100644
--- a/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/Source/core/style/StyleRareNonInheritedData.cpp
@@ -96,6 +96,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_requiresAcceleratedCompositingForExternalReasons(false)
, m_hasInlineTransform(false)
, m_resize(ComputedStyle::initialResize())
+ , m_hasCompositorProxy(false)
{
m_maskBoxImage.setMaskDefaults();
}
@@ -180,6 +181,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAcceleratedCompositingForExternalReasons)
, m_hasInlineTransform(o.m_hasInlineTransform)
, m_resize(o.m_resize)
+ , m_hasCompositorProxy(o.m_hasCompositorProxy)
{
}
@@ -267,7 +269,8 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& m_scrollBlocksOn == o.m_scrollBlocksOn
&& m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcceleratedCompositingForExternalReasons
&& m_hasInlineTransform == o.m_hasInlineTransform
- && m_resize == o.m_resize;
+ && m_resize == o.m_resize
+ && m_hasCompositorProxy == o.m_hasCompositorProxy;
}
bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInheritedData& o) const
« no previous file with comments | « Source/core/style/StyleRareNonInheritedData.h ('k') | Source/platform/graphics/CompositingReasons.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698