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

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

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Animation expectation Created 4 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: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
index e9e60c9e3f552b416385d4d43923eaa64720214a..b0c513d36a2f4ac1d7dbe220cca2080dac95d23d 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -113,6 +113,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_runningTransformAnimationOnCompositor(false)
, m_runningFilterAnimationOnCompositor(false)
, m_runningBackdropFilterAnimationOnCompositor(false)
+ , m_isStackingContext(false)
, m_effectiveBlendMode(ComputedStyle::initialBlendMode())
, m_touchAction(ComputedStyle::initialTouchAction())
, m_objectFit(ComputedStyle::initialObjectFit())
@@ -195,6 +196,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCompositor)
, m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnCompositor)
, m_runningBackdropFilterAnimationOnCompositor(o.m_runningBackdropFilterAnimationOnCompositor)
+ , m_isStackingContext(o.m_isStackingContext)
, m_effectiveBlendMode(o.m_effectiveBlendMode)
, m_touchAction(o.m_touchAction)
, m_objectFit(o.m_objectFit)
@@ -277,6 +279,7 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation
&& m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation
&& m_hasCurrentBackdropFilterAnimation == o.m_hasCurrentBackdropFilterAnimation
+ && m_isStackingContext == o.m_isStackingContext
&& m_effectiveBlendMode == o.m_effectiveBlendMode
&& m_touchAction == o.m_touchAction
&& m_objectFit == o.m_objectFit

Powered by Google App Engine
This is Rietveld 408576698